Skip to content

Commit

Permalink
Publish should now publish again on tagged builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Bios-Marcel committed Aug 13, 2023
1 parent 450f5d1 commit b1299be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish release
on:
workflow_run:
workflows: [Build]
branches: [master]
branches: [v**]
types: [completed]

jobs:
Expand All @@ -12,7 +12,7 @@ jobs:
# Kinda bad since it might release on any branch starting with v, but it'll do for now.
# Tag filtering in "on:" doesn't work, since the inital build trigger gets lost.
# github.ref is therefore also being reset to "refs/head/master".
if: ${{ github.event.workflow_run.conclusion == 'success' && startsWith(github.event.workflow_run.head_branch, 'v') }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Download linux artifact
Expand Down

0 comments on commit b1299be

Please sign in to comment.