Skip to content

Commit

Permalink
Create release-zip.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ohayoyogi authored Jan 9, 2024
1 parent 1e536d1 commit fb0a7d3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release-zip.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fb0a7d3

Please sign in to comment.