Skip to content

Commit 5b3efa8

Browse files
Attempt 5
1 parent e8e0b28 commit 5b3efa8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/nightly-tag.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616

17+
- name: Get current commit hash
18+
id: get_commit
19+
run: echo "::set-output name=commit_sha::$(git rev-parse HEAD)"
20+
1721
- name: Create or update nightly tag
1822
uses: mathieudutour/[email protected]
1923
with:
2024
github_token: ${{ secrets.GITHUB_TOKEN }}
2125
default_bump: false
2226
release_branches: master,NightlyTest
2327
tag_prefix: ''
24-
tag_name: nightly
25-
tag_message: 'Nightly build from GitHub Actions'
26-
default_prerelease_bump: false
28+
custom_tag: nightly
29+
commit_sha: ${{ steps.get_commit.outputs.commit_sha }}
2730
create_annotated_tag: true

0 commit comments

Comments
 (0)