File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 33
33
runs-on : ubuntu-latest
34
34
steps :
35
35
36
- - name : 🔢 Set version tag
37
- id : vars
38
- run : echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
39
-
40
36
# https://github.com/actions/setup-java
41
37
- name : ☕ Set up AWS Corretto JDK 17
42
38
uses : actions/setup-java@v3
@@ -48,15 +44,18 @@ jobs:
48
44
- name : 🚚 Get latest code
49
45
uses : actions/checkout@v3
50
46
47
+ # GITHUB_REF may be "master".
48
+ - name : 🔢 Set version tag
49
+ id : vars
50
+ run : echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
51
+
51
52
- name : 🔢 Grant execute permission for gradlew
52
53
run : chmod +x gradlew
53
54
54
55
- name : 🔨 Build with Gradle
55
56
env :
56
57
VERSION_TAG : ${{ steps.vars.outputs.tag }}
57
- run : |
58
- echo $VERSION_TAG
59
- ./gradlew :library:assembleRelease
58
+ run : ./gradlew :library:assembleRelease
60
59
61
60
# https://github.com/actions/upload-artifact
62
61
- name : 📦 Retain Artifacts (Release AAR)
You can’t perform that action at this time.
0 commit comments