From fb0a7d355f1268d68600c2b1762f7dd85a52b219 Mon Sep 17 00:00:00 2001 From: ohayoyogi <77435669+ohayoyogi@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:40:53 +0900 Subject: [PATCH] Create release-zip.yml --- .github/workflows/release-zip.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/release-zip.yml diff --git a/.github/workflows/release-zip.yml b/.github/workflows/release-zip.yml new file mode 100644 index 0000000..0966cb3 --- /dev/null +++ b/.github/workflows/release-zip.yml @@ -0,0 +1,27 @@ +name: Release zip + +on: + push: + tags: + - '*' + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: zip files + run: | + cd ../ + zip -r blender-exporter-colmap_${{ github.ref_name }}.zip blender-exporter-colmap/__init__.py + - name: Create Release + uses: softprops/action-gh-release@v1 + with: + name: "Release ${{ github.ref_name }}" + tag_name: "${{ github.ref_name }}" + draft: true + files: | + blender-exporter-colmap_${{ github.ref_name }}.zip + prerelease: false + target_commitish: main