Skip to content

Commit

Permalink
only release on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ata-no-one committed Jul 18, 2024
1 parent 81186e0 commit cebe935
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/github-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,13 @@ jobs:
- name: zip it
run: zip wordpress-gdata-antivirus-${{needs.get-version.outputs.plugin_version}}.zip * --exclude @.zipignore
- uses: actions/upload-artifact@master
if: startsWith(github.ref, 'refs/tags/v')
with:
name: plugin-zip
path: wordpress-gdata-antivirus-${{needs.get-version.outputs.plugin_version}}.zip

release:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
needs:
- get-version
Expand Down

0 comments on commit cebe935

Please sign in to comment.