Skip to content

Commit

Permalink
fetching tags from the action to checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
malmstein committed Nov 8, 2024
1 parent b0cb2a7 commit 8a461f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
with:
submodules: recursive
token: ${{ secrets.GT_DAXMOBILE }}
fetch-depth: 0

- name: Set up JDK 17
uses: actions/setup-java@v4
Expand All @@ -36,8 +37,7 @@ jobs:

- name: Get latest tag
id: get_latest_tag
run: |
git fetch --tags
run: |
output=$(git describe --tags --abbrev=0)
echo "Latest tag: $output"
echo "latest_tag=$output" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 8a461f2

Please sign in to comment.