mirror of
https://github.com/NoCrypt/migu.git
synced 2026-03-11 17:45:32 +00:00
Merge branch 'main' of https://github.com/NoCrypt/migu
This commit is contained in:
commit
218e52f47c
1 changed files with 16 additions and 5 deletions
21
.github/workflows/android.yml
vendored
21
.github/workflows/android.yml
vendored
|
|
@ -78,18 +78,29 @@ jobs:
|
|||
# echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV
|
||||
# echo Last build tool version is: $BUILD_TOOL_VERSION
|
||||
|
||||
- name: Get Tag
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
GIT_CURR_TAG=$(gh release list --limit 1 --json tagName --jq '.[0].tagName')
|
||||
echo "GIT_CURR_TAG=$GIT_CURR_TAG" >> $GITHUB_ENV
|
||||
echo Last Tag is: $GIT_CURR_TAG
|
||||
|
||||
- uses: Wandalen/wretry.action@master
|
||||
name: Sign app APK
|
||||
id: sign_app
|
||||
with:
|
||||
attempt_limit: 3
|
||||
action: NoCrypt/sign-android@main
|
||||
action: NoCrypt/sign-android@v1.0.3
|
||||
with: |
|
||||
releaseDir: capacitor/android/app/build/outputs/apk/release
|
||||
signingKey: ${{ secrets.SIGNING_KEY }}
|
||||
keyAlias: ${{ secrets.ALIAS }}
|
||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||
appName: Migu
|
||||
appVersion: ${{ env.GIT_CURR_TAG }}
|
||||
appPrefix: android
|
||||
|
||||
- uses: jungwinter/split@v2
|
||||
id: signed_files
|
||||
|
|
@ -102,7 +113,7 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
git fetch --tags
|
||||
gh release upload --clobber $(gh release list --limit 1 --json tagName --jq '.[0].tagName') ../${{ steps.signed_files.outputs._0 }}
|
||||
gh release upload --clobber $(gh release list --limit 1 --json tagName --jq '.[0].tagName') ../${{ steps.signed_files.outputs._1 }}
|
||||
gh release upload --clobber $(gh release list --limit 1 --json tagName --jq '.[0].tagName') ../${{ steps.signed_files.outputs._2 }}
|
||||
gh release upload --clobber $(gh release list --limit 1 --json tagName --jq '.[0].tagName') ../${{ steps.signed_files.outputs._3 }}
|
||||
gh release upload --clobber ${{ env.GIT_CURR_TAG }} ../${{ steps.signed_files.outputs._0 }}
|
||||
gh release upload --clobber ${{ env.GIT_CURR_TAG }} ../${{ steps.signed_files.outputs._1 }}
|
||||
gh release upload --clobber ${{ env.GIT_CURR_TAG }} ../${{ steps.signed_files.outputs._2 }}
|
||||
gh release upload --clobber ${{ env.GIT_CURR_TAG }} ../${{ steps.signed_files.outputs._3 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue