mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-08-20 04:48:53 +08:00
fix tag fetching and parse behavior
This commit is contained in:
parent
e6dd2d15c2
commit
bee6f13888
7
.github/workflows/nightly_release.yml
vendored
7
.github/workflows/nightly_release.yml
vendored
@ -21,13 +21,12 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Fetch nightly-latest tag
|
||||
run: |
|
||||
git fetch origin nightly-latest || true
|
||||
- name: Fetch tags
|
||||
run: git fetch --tags
|
||||
|
||||
- id: check
|
||||
run: |
|
||||
latest_commit=$(git rev-parse origin/nightly-latest || echo "")
|
||||
latest_commit=$(git rev-parse nightly-latest || echo "")
|
||||
echo "Latest published commit: $latest_commit"
|
||||
if [ "$latest_commit" = "${{ github.sha }}" ]; then
|
||||
echo "No new commit since last publish."
|
||||
|
Loading…
Reference in New Issue
Block a user