File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: 🤖 Android CI
3
3
on :
4
4
push :
5
5
branches : [ master ]
6
+ tags :
7
+ - ' *.*.*'
6
8
paths-ignore :
7
9
- ' **/README.md'
8
10
- ' screenshots/**'
12
14
13
15
pull_request :
14
16
branches : [ master ]
17
+ tags :
18
+ - ' *.*.*'
15
19
paths-ignore :
16
20
- ' **/README.md'
17
21
- ' screenshots/**'
27
31
28
32
- name : 🚚 Get latest code
29
33
uses : actions/checkout@v3
34
+ - name : Set output
35
+ id : vars
36
+ run : echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
30
37
31
38
# https://github.com/actions/setup-java
32
39
- name : ☕ Set up AWS Corretto JDK 17
44
51
45
52
# https://github.com/actions/upload-artifact
46
53
- name : 📦 Retain Artifacts (Release AAR)
47
- id : retain-release-aab
54
+ id : retain-release-aar
48
55
uses : actions/upload-artifact@v3
56
+ env :
57
+ VERSION_TAG : ${{ steps.vars.outputs.tag }}
49
58
with :
50
- name : androidx-colorpicker-release- aar
51
- path : ./library/build/outputs/aar/colorpicker -release.aar
59
+ name : androidx-colorpicker-aar
60
+ path : ./library/build/outputs/aar/colorpicker_${VERSION_TAG} -release.aar
52
61
retention-days : 14
You can’t perform that action at this time.
0 commit comments