Skip to content

Commit

Permalink
GITHUB: workflows/release.yml: upgrade to actions/checkout@v4
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik committed Sep 6, 2023
1 parent 016c86e commit c705036
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
Test-Task:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 0 # fetch with annotated tags
- name: Fetch Tag
id: fetchtag
run: |
git fetch -f --tags # actions/checkout@v3 lacks tag annotation
# git fetch -f --tags # actions/checkout@v3 lacks tag annotation
echo "ISRELEASETAG=$(test tag == $(git cat-file -t $GITHUB_REF_NAME) && echo true || echo false)" >> "$GITHUB_OUTPUT"
echo "ISPRERELEASE=$(test tag != $(git cat-file -t $GITHUB_REF_NAME) && echo true || echo false)" >> "$GITHUB_OUTPUT"
misc/version.sh
Expand Down

0 comments on commit c705036

Please sign in to comment.