We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc0adb3 commit a9c3db2Copy full SHA for a9c3db2
1 file changed
.github/workflows/build_release.yml
@@ -8,7 +8,15 @@ jobs:
8
runs-on: ubuntu-latest
9
10
steps:
11
- - uses: actions/checkout@v4
+ - name: Checkout latest tag
12
+ uses: actions/checkout@v4
13
+ with:
14
+ fetch-depth: 0 # fetch all history and tags
15
+ - name: Checkout latest Git tag
16
+ run: |
17
+ latest_tag=$(git describe --tags "$(git rev-list --tags --max-count=1)")
18
+ echo "Latest tag is $latest_tag"
19
+ git checkout $latest_tag
20
21
- name: Set up JDK
22
uses: actions/setup-java@v4
0 commit comments