Skip to content

Commit 74fbdf6

Browse files
committed
Attempt number i lost count on github env variables
Signed-off-by: Gabriel Harris-Rouquette <[email protected]>
1 parent 2ad0fac commit 74fbdf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
run: echo "BUILD_NUMBER=$(($GITHUB_RUN_NUMBER+93))" >> $GITHUB_ENV
3232
- name: Build with Gradle
3333
run: |
34-
echo "GIT_COMMIT=$GITHUB_SHA" >> $GITHUB_ENV
35-
echo "GIT_BRANCH=$GITHUB_REF" >> $GITHUB_ENV
34+
echo "GIT_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
35+
echo "GIT_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
3636
./gradlew --refresh-dependencies -s clean build
3737
env:
3838
CI_SYSTEM: Github Actions

0 commit comments

Comments
 (0)