Fixed it so that it's triggered only on *tag* push'es
Yanis Zafirópulos 1265028+drkameleon@users.noreply.github.com
Wed, 20 Jan 2021 19:35:21 +0100
1 files changed,
3 insertions(+),
5 deletions(-)
jump to
M
.github/workflows/release.yml
→
.github/workflows/release.yml
@@ -2,11 +2,9 @@ name: Release
# Controls when the action will run. on: - # Triggers the workflow on push or pull request events but only for the master branch push: - branches: [ master ] - pull_request: - branches: [ master ] + tags: + - 'v*.*.*' # Allows you to run this workflow manually from the Actions tab workflow_dispatch:@@ -114,4 +112,4 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: release_id: ${{ steps.create-release.outputs.id }} - assets_path: ./assets+ assets_path: ./assets