diff --git a/.github/workflows/zip-release.yml b/.github/workflows/zip-release.yml index 1305a84..82767b3 100644 --- a/.github/workflows/zip-release.yml +++ b/.github/workflows/zip-release.yml @@ -5,6 +5,7 @@ on: push jobs: build: runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') steps: - name: Checkout uses: actions/checkout@v2 @@ -20,6 +21,5 @@ jobs: exclusions: '*.git*' - name: Release uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') with: files: ${{steps.get_filename.outputs.filename}}