mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Update release workflow
This commit is contained in:
parent
2415b836fb
commit
379fcfcf41
2 changed files with 15 additions and 7 deletions
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
|
|
@ -38,12 +38,14 @@ jobs:
|
||||||
KEY_STORE_PASSWORD: "${{ secrets.KEY_STORE_PASSWORD }}"
|
KEY_STORE_PASSWORD: "${{ secrets.KEY_STORE_PASSWORD }}"
|
||||||
SIGNING_KEY: "${{ secrets.SIGNING_KEY }}"
|
SIGNING_KEY: "${{ secrets.SIGNING_KEY }}"
|
||||||
run: |
|
run: |
|
||||||
./gradlew clean assembleRelease --no-daemon
|
./gradlew clean assembleRelease bundleRelease --no-daemon
|
||||||
|
aab=$(find app/build/outputs -name '*.aab')
|
||||||
|
echo "aab=$aab" >> "$GITHUB_OUTPUT"
|
||||||
- name: Verify signatures
|
- name: Verify signatures
|
||||||
run: |
|
run: |
|
||||||
echo "Verify APK signatures"
|
echo "Verify APK/AAB signatures"
|
||||||
find app/build/outputs/apk -name '*.apk'
|
find app/build/outputs \( -name '*.apk' -or -name '*.aab' \)
|
||||||
find app/build/outputs/apk -name '*.apk' -print0 | xargs -0 -n1 ${{env.ANDROID_SDK_ROOT}}/build-tools/${{ env.BUILD_TOOLS_VERSION }}/apksigner verify --verbose --print-certs
|
find app/build/outputs \( -name '*.apk' -or -name '*.aab' \) -print0 | xargs -0 -n1 ${{env.ANDROID_SDK_ROOT}}/build-tools/${{ env.BUILD_TOOLS_VERSION }}/apksigner verify --verbose --print-certs
|
||||||
- name: Copy APK to shorter names
|
- name: Copy APK to shorter names
|
||||||
id: apks
|
id: apks
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -59,11 +61,17 @@ jobs:
|
||||||
- name: Checksums
|
- name: Checksums
|
||||||
run: |
|
run: |
|
||||||
echo "SHA256 checksums:"
|
echo "SHA256 checksums:"
|
||||||
find app/build/outputs/apk -name '*.apk' -print0 | xargs -0 sha256sum
|
find app/build/outputs \( -name '*.apk' -or -name '*.aab' \) -print0 | xargs -0 sha256sum
|
||||||
|
- name: Upload AAB
|
||||||
|
uses: actions/upload-artifact@v6
|
||||||
|
with:
|
||||||
|
name: AAB
|
||||||
|
path: "${{ steps.buildapp.outputs.aab }}"
|
||||||
|
compression-level: 0
|
||||||
- name: Create GitHub release
|
- name: Create GitHub release
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh release create "${{ env.TAG_NAME }}" \
|
gh release create "${{ env.TAG_NAME }}" \
|
||||||
--latest --title "${{ env.TAG_NAME }}" --verify-tag -n "Placeholder" --draft \
|
--latest --title "${{ env.TAG_NAME }}" --verify-tag -n "" --draft \
|
||||||
"app/build/outputs/apk/**/*.apk"
|
"app/build/outputs/apk/**/*.apk"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue