From bc518608f006f090dd44c05573bd1ea4d472a212 Mon Sep 17 00:00:00 2001 From: David Kocher Date: Tue, 14 Jan 2025 11:54:16 +0100 Subject: [PATCH] GITHUB_SHA not available. --- .github/workflows/duck.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/duck.yml b/.github/workflows/duck.yml index e9d6d1a24c6..8a72fc2e997 100644 --- a/.github/workflows/duck.yml +++ b/.github/workflows/duck.yml @@ -57,7 +57,7 @@ jobs: ref: ${{ env.TAG }} fetch-depth: 0 - run: | - export COUNT=$(git rev-list --count $GITHUB_SHA) + export COUNT=$(git rev-list --count ${{ env.TAG }}) mvn -B verify --projects cli/linux --also-make -DskipTests dpkg-deb -R cli/linux/target/release/duck_${{env.VERSION}}.$COUNT_amd64.deb . - name: Log in to the Container registry