diff --git a/.github/workflows/build-snapshot.yml b/.github/workflows/build-snapshot.yml index 7582682..832a127 100644 --- a/.github/workflows/build-snapshot.yml +++ b/.github/workflows/build-snapshot.yml @@ -15,13 +15,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Extract current branch name - shell: bash - # bash pattern expansion to grab branch name without slashes - run: ref="${GITHUB_REF#refs/heads/}" && echo "branch=${ref////-}" >> $GITHUB_OUTPUT - id: ref - name: Checkout sources uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up JDK uses: actions/setup-java@v4 with: