File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 workflow_call :
55
66jobs :
7- alpha :
7+ publish- alpha :
88 runs-on : ubuntu-latest
99 permissions :
1010 contents : write
1111
1212 steps :
13+ - name : Checkout source code
14+ uses : actions/checkout@v4
15+
1316 - uses : actions/download-artifact@v4
1417 with :
1518 name : outputs
3235
3336 - name : Delete alpha using GitHub CLI
3437 run : |
35- gh release delete alpha --yes >/dev/null 2>&1 || echo "No alpha release exists."
36- gh api -X DELETE repos/${GITHUB_REPOSITORY}/git/refs/tags/alpha >/dev/null 2>&1 || echo "No alpha tag exists."
38+ gh release delete alpha --yes --cleanup-tag >/dev/null 2>&1 || echo "No alpha release exists."
3739 env :
3840 GITHUB_TOKEN : ${{ github.token }}
3941
Original file line number Diff line number Diff line change 44 workflow_call :
55
66jobs :
7- beta :
7+ publish- beta :
88 runs-on : ubuntu-latest
99 environment : beta
1010
Original file line number Diff line number Diff line change 44 workflow_call :
55
66jobs :
7- build :
7+ build-apk :
88 runs-on : ubuntu-latest
99 timeout-minutes : 60
1010
1818 uses : actions/cache@v4
1919 with :
2020 path : |
21- ~/.gradle
2221 ${{ github.workspace }}/node_modules
2322 key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
2423 restore-keys : |
Original file line number Diff line number Diff line change 1111jobs :
1212 build :
1313 uses : ./.github/workflows/build.yml
14+ secrets : inherit
1415
1516 alpha :
1617 if : github.ref == 'refs/heads/master'
1718 needs : build
1819 uses : ./.github/workflows/alpha.yml
20+ secrets : inherit
1921
2022 beta :
2123 if : github.event_name == 'workflow_dispatch'
2224 needs : build
2325 uses : ./.github/workflows/beta.yml
26+ secrets : inherit
2427
2528 release :
2629 if : startsWith(github.ref, 'refs/tags/')
2730 needs : build
2831 uses : ./.github/workflows/release.yml
32+ secrets : inherit
2933
3034 version :
3135 if : startsWith(github.ref, 'refs/tags/')
3236 needs : release
3337 uses : ./.github/workflows/version.yml
38+ secrets : inherit
Original file line number Diff line number Diff line change 44 workflow_call :
55
66jobs :
7- release :
7+ publish- release :
88 runs-on : ubuntu-latest
99 permissions :
1010 contents : write
1111
1212 steps :
13+ - name : Checkout source code
14+ uses : actions/checkout@v4
15+ with :
16+ fetch-depth : 0
17+
1318 - uses : actions/download-artifact@v4
1419 with :
1520 name : outputs
2530 echo "apk_filename=$APK_FILENAME" >> "$GITHUB_OUTPUT"
2631 mv $GITHUB_WORKSPACE/outputs/apk/release/app-arm64-v8a-release.apk $APK_FILENAME
2732
28- - name : Checkout source code
29- uses : actions/checkout@v4
30- with :
31- fetch-depth : 0
32-
3333 - name : Get version info
3434 id : version-info
3535 run : |
Original file line number Diff line number Diff line change 44 workflow_call :
55
66jobs :
7- bump :
7+ bump-version :
88 runs-on : ubuntu-latest
99 permissions :
1010 contents : write
You can’t perform that action at this time.
0 commit comments