File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 31
31
32
32
- name : 🚚 Get latest code
33
33
uses : actions/checkout@v3
34
- - name : Set output
34
+ - name : Set version tag
35
35
id : vars
36
36
run : echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
37
37
@@ -47,15 +47,15 @@ jobs:
47
47
run : chmod +x gradlew
48
48
49
49
- name : 🔨 Build with Gradle
50
+ env :
51
+ VERSION_TAG : ${{ steps.vars.outputs.tag }}
50
52
run : ./gradlew :library:assembleRelease
51
53
52
54
# https://github.com/actions/upload-artifact
53
55
- name : 📦 Retain Artifacts (Release AAR)
54
56
id : retain-release-aar
55
57
uses : actions/upload-artifact@v3
56
- env :
57
- VERSION_TAG : ${{ steps.vars.outputs.tag }}
58
58
with :
59
59
name : androidx-colorpicker-aar
60
- path : ./library/build/outputs/aar/colorpicker_${VERSION_TAG} -release.aar
60
+ path : ./library/build/outputs/aar/colorpicker_* -release.aar
61
61
retention-days : 14
You can’t perform that action at this time.
0 commit comments