Skip to content

Commit

Permalink
Adjust tag format for nightly builds.
Browse files Browse the repository at this point in the history
* Prefix with "nightly/".
* Use run attempt number instead of run number for suffix.
  • Loading branch information
SanjayVas committed May 10, 2024
1 parent 2e98c37 commit fb5af16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- id: get-tag
run: |
date_string="$(TZ='America/Los_Angeles' date +'%Y%m%d')"
echo "tag=${date_string}.$GITHUB_RUN_NUMBER" >> "$GITHUB_OUTPUT"
echo "tag=nightly/${date_string}.$GITHUB_RUN_ATTEMPT" >> "$GITHUB_OUTPUT"
- name: create-tag
uses: actions/github-script@v7
env:
Expand Down

0 comments on commit fb5af16

Please sign in to comment.