Skip to content

Commit e8e0b28

Browse files
Attempt 4
1 parent af5932f commit e8e0b28

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

.github/workflows/nightly-tag.yaml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,15 @@ jobs:
1313
- uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0
16-
token: ${{ secrets.GITHUB_PAT }}
1716

1817
- name: Create or update nightly tag
19-
run: |
20-
git config --global user.name "GitHub Action"
21-
git config --global user.email "[email protected]"
22-
23-
# Delete the nightly tag if it exists (both locally and remotely)
24-
git tag -d nightly || true
25-
git push origin :refs/tags/nightly || true
26-
27-
# Create new nightly tag
28-
git tag nightly
29-
git push origin nightly
30-
env:
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_PAT }}
18+
uses: mathieudutour/[email protected]
19+
with:
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
default_bump: false
22+
release_branches: master,NightlyTest
23+
tag_prefix: ''
24+
tag_name: nightly
25+
tag_message: 'Nightly build from GitHub Actions'
26+
default_prerelease_bump: false
27+
create_annotated_tag: true

0 commit comments

Comments
 (0)