From 24f6ae3713b0b187b76e72f6fe962e2b150afbee Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Sat, 26 Oct 2024 10:43:35 -0400 Subject: [PATCH] fix versioning still being broken --- .github/workflows/build-snapshot.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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: