mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-18 07:02:27 +00:00
CI: auto rename
This commit is contained in:
parent
56ab9a5002
commit
a5c1c4ccc0
1 changed files with 10 additions and 4 deletions
14
.github/workflows/android.yml
vendored
14
.github/workflows/android.yml
vendored
|
|
@ -78,6 +78,9 @@ jobs:
|
|||
# echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV
|
||||
# echo Last build tool version is: $BUILD_TOOL_VERSION
|
||||
|
||||
- uses: little-core-labs/get-git-tag@v3.0.1
|
||||
id: tag_name
|
||||
|
||||
- uses: Wandalen/wretry.action@master
|
||||
name: Sign app APK
|
||||
id: sign_app
|
||||
|
|
@ -90,6 +93,9 @@ jobs:
|
|||
keyAlias: ${{ secrets.ALIAS }}
|
||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||
appName: Migu
|
||||
appVersion: ${{ steps.tagName.outputs.tag }}
|
||||
appPrefix: android
|
||||
|
||||
- uses: jungwinter/split@v2
|
||||
id: signed_files
|
||||
|
|
@ -102,7 +108,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 ${{ steps.tagName.outputs.tag }} ../${{ steps.signed_files.outputs._0 }}
|
||||
gh release upload --clobber ${{ steps.tagName.outputs.tag }} ../${{ steps.signed_files.outputs._1 }}
|
||||
gh release upload --clobber ${{ steps.tagName.outputs.tag }} ../${{ steps.signed_files.outputs._2 }}
|
||||
gh release upload --clobber ${{ steps.tagName.outputs.tag }} ../${{ steps.signed_files.outputs._3 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue