We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6dd2d1 commit bee6f13Copy full SHA for bee6f13
.github/workflows/nightly_release.yml
@@ -21,13 +21,12 @@ jobs:
21
with:
22
fetch-depth: 0
23
24
- - name: Fetch nightly-latest tag
25
- run: |
26
- git fetch origin nightly-latest || true
+ - name: Fetch tags
+ run: git fetch --tags
27
28
- id: check
29
run: |
30
- latest_commit=$(git rev-parse origin/nightly-latest || echo "")
+ latest_commit=$(git rev-parse nightly-latest || echo "")
31
echo "Latest published commit: $latest_commit"
32
if [ "$latest_commit" = "${{ github.sha }}" ]; then
33
echo "No new commit since last publish."
0 commit comments