File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 build :
1010 name : Publish release
11- runs-on : ubuntu-latest
11+ runs-on : ubuntu-22.04
1212 steps :
1313 - name : Checkout
1414 uses : actions/checkout@v4
1515 with :
1616 fetch-depth : 0
17- - name : Install JDK ${{ matrix.java_version }}
18- uses : actions/setup-java@v4
17+ - name : Find Tag
18+ id : tagger
19+ uses : jimschubert/query-tag-action@v2
1920 with :
20- distribution : ' adopt '
21- java-version : 17
21+ skip-unshallow : ' true '
22+ commit-ish : HEAD
2223 - name : Check pre-release
2324 run : |
2425 echo "tag=${{steps.tagger.outputs.tag}}"
@@ -30,12 +31,17 @@ jobs:
3031 fi
3132 echo "PRE_RELEASE=$prerelease" >> $GITHUB_ENV
3233 echo "prerelease=$prerelease"
34+ - name : Install JDK
35+ uses : actions/setup-java@v4
36+ with :
37+ distribution : ' adopt'
38+ java-version : 17
3339 - name : Install Android SDK
34- uses : malinskiy /action-android/install-sdk@release/ 0.1.3
40+ uses : hannesa2 /action-android/install-sdk@0.1.16.7
3541 - name : Build project
3642 run : ./gradlew assembleRelease
3743 env :
38- VERSION : ${{ github.ref }}
44+ VERSION : ${{steps.tagger.outputs.tag }}
3945 - name : Create Release
4046 uses : softprops/action-gh-release@v2
4147 with :
You can’t perform that action at this time.
0 commit comments