Skip to content

Commit e0912ab

Browse files
committed
Allow nightly tag for the release binary workflow
1 parent 429522c commit e0912ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release-binary.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ jobs:
3030
- name: Get release
3131
id: get_release
3232
uses: bruceadams/[email protected]
33-
# Skip step if not on master/main in the official repository since it would fail. Instead fail at the end of this workflow.
34-
if: ${{ github.repository == 'lycheeverse/lychee' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') }}
33+
# Skip step if not on master/main branch or nightly tag in the official repository as it would fail.
34+
# Instead fail at the end of this workflow.
35+
if: ${{ github.repository == 'lycheeverse/lychee' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/tags/nightly') }}
3536
env:
3637
GITHUB_TOKEN: ${{ github.token }}
3738

0 commit comments

Comments
 (0)