mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-22 22:00:24 +07:00
Even if aab not uploaded, keep going and uploda the APK
This commit is contained in:
60
.github/workflows/buildAndDeploy.yml
vendored
60
.github/workflows/buildAndDeploy.yml
vendored
@ -153,6 +153,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload AAB to google play
|
- name: Upload AAB to google play
|
||||||
uses: r0adkll/upload-google-play@v1.0.15
|
uses: r0adkll/upload-google-play@v1.0.15
|
||||||
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}
|
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}
|
||||||
packageName: com.unciv.app
|
packageName: com.unciv.app
|
||||||
@ -183,37 +184,6 @@ jobs:
|
|||||||
name: UncivAPK
|
name: UncivAPK
|
||||||
path: Unciv-signed.apk
|
path: Unciv-signed.apk
|
||||||
|
|
||||||
|
|
||||||
## Finalize
|
|
||||||
|
|
||||||
AUR-update:
|
|
||||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
|
||||||
continue-on-error: true
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Get AUR PKGBUILD
|
|
||||||
run: |
|
|
||||||
curl --silent --output PKGBUILD 'https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=unciv-bin'
|
|
||||||
sed -E -e "s#(_pkgver=).*#\1${{needs.build.outputs.version_tag}}#" -e "s#(pkgrel=).*#\10#" -i PKGBUILD
|
|
||||||
|
|
||||||
- name: Publish AUR package
|
|
||||||
uses: Thyrum/github-actions-deploy-aur@master
|
|
||||||
with:
|
|
||||||
pkgname: unciv-bin
|
|
||||||
pkgbuild: ./PKGBUILD
|
|
||||||
commit_username: ${{ secrets.AUR_COMMIT_USERNAME }}
|
|
||||||
commit_email: ${{ secrets.AUR_COMMIT_EMAIL }}
|
|
||||||
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
|
||||||
commit_message: |
|
|
||||||
Update to ${{needs.build.outputs.version_tag}}
|
|
||||||
|
|
||||||
${{needs.build.outputs.release_body}}
|
|
||||||
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519
|
|
||||||
updpkgsums: true
|
|
||||||
allow_empty_commits: false
|
|
||||||
|
|
||||||
packr-build:
|
packr-build:
|
||||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -371,3 +341,31 @@ jobs:
|
|||||||
*${{needs.build.outputs.version_tag}} rolling out!*
|
*${{needs.build.outputs.version_tag}} rolling out!*
|
||||||
|
|
||||||
${{needs.build.outputs.release_body}}
|
${{needs.build.outputs.release_body}}
|
||||||
|
|
||||||
|
AUR-update:
|
||||||
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||||
|
continue-on-error: true
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Get AUR PKGBUILD
|
||||||
|
run: |
|
||||||
|
curl --silent --output PKGBUILD 'https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=unciv-bin'
|
||||||
|
sed -E -e "s#(_pkgver=).*#\1${{needs.build.outputs.version_tag}}#" -e "s#(pkgrel=).*#\10#" -i PKGBUILD
|
||||||
|
|
||||||
|
- name: Publish AUR package
|
||||||
|
uses: Thyrum/github-actions-deploy-aur@master
|
||||||
|
with:
|
||||||
|
pkgname: unciv-bin
|
||||||
|
pkgbuild: ./PKGBUILD
|
||||||
|
commit_username: ${{ secrets.AUR_COMMIT_USERNAME }}
|
||||||
|
commit_email: ${{ secrets.AUR_COMMIT_EMAIL }}
|
||||||
|
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
|
||||||
|
commit_message: |
|
||||||
|
Update to ${{needs.build.outputs.version_tag}}
|
||||||
|
|
||||||
|
${{needs.build.outputs.release_body}}
|
||||||
|
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519
|
||||||
|
updpkgsums: true
|
||||||
|
allow_empty_commits: false
|
||||||
|
Reference in New Issue
Block a user