We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b05b3 commit 2ad0facCopy full SHA for 2ad0fac
.github/workflows/build-and-deploy.yaml
@@ -30,11 +30,12 @@ jobs:
30
- name: run number with offset
31
run: echo "BUILD_NUMBER=$(($GITHUB_RUN_NUMBER+93))" >> $GITHUB_ENV
32
- name: Build with Gradle
33
- run: ./gradlew --refresh-dependencies -s clean build
+ run: |
34
+ echo "GIT_COMMIT=$GITHUB_SHA" >> $GITHUB_ENV
35
+ echo "GIT_BRANCH=$GITHUB_REF" >> $GITHUB_ENV
36
+ ./gradlew --refresh-dependencies -s clean build
37
env:
38
CI_SYSTEM: Github Actions
- GIT_COMMIT: ${{ GITHUB_SHA }}
- GIT_BRANCH: ${{ GITHUB_REF }}
39
- name: Add artifacts to build
40
uses: actions/upload-artifact@v2
41
with:
0 commit comments