Skip to content

Commit be3b37c

Browse files
Update gradle.yml
1 parent 339e4b4 commit be3b37c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
java-version: '21'
2929
distribution: 'temurin'
3030

31+
# get short sha
32+
- name: Set SHORT_SHA env property
33+
run: echo "SHORT_SHA=`git rev-parse --short HEAD`" >> $GITHUB_ENV
34+
3135
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
3236
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
3337
- name: Setup Gradle

0 commit comments

Comments
 (0)