Skip to content

Commit

Permalink
use fetch tags
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjenx committed Jul 25, 2024
1 parent 1835b7c commit 87c2e44
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- run: git describe --tags $(git rev-list --tags --max-count=1)
- run: git describe --abbrev=0 --tags
- run: git rev-parse --short HEAD
with:
fetch-tags: true
- name: Setup Java JDK
uses: actions/[email protected]
with:
Expand All @@ -41,6 +40,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-tags: true
- name: Setup Java JDK
uses: actions/[email protected]
with:
Expand All @@ -63,6 +64,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-tags: true
- name: Setup Java JDK
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 87c2e44

Please sign in to comment.