add checksum to releases; cleanup workflow

This commit is contained in:
Philipp Crocoll
2025-06-18 02:40:03 +02:00
parent bd784fa13d
commit df731ac1b3

View File

@@ -21,16 +21,10 @@ jobs:
with:
submodules: true
- name: Print name
run: echo "Hello $NAME. $BUILD. "
shell: bash
env:
BUILD: 'We are currently testing'
- name: Extract key store
env:
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
KeyStore: "${{ github.workspace }}/kp2a_net.keystore"
KeyStore: "${{ github.workspace }}/kp2a.keystore"
shell: bash
run: |
@@ -93,7 +87,7 @@ jobs:
- name: Build APK (net)
env:
KeyStore: "${{ github.workspace }}/kp2a_net.keystore"
KeyStore: "${{ github.workspace }}/kp2a.keystore"
MyAndroidSigningStorePass: ${{ secrets.KEY_STORE_PASSWORD }}
MyAndroidSigningKeyPass: ${{ secrets.KEY_PASSWORD }}
run: |
@@ -116,4 +110,15 @@ jobs:
if: github.ref_type == 'tag'
with:
files: |
src/keepass2android-app/bin/Release/net8.0-android/*-Signed.apk
src/keepass2android-app/bin/Release/net8.0-android/*-Signed.apk
- name: Run checksum action
uses: thewh1teagle/checksum@v2
with:
pre-release: true
file-name: 'apk-checksum-sha256.txt'
patterns: |
src/keepass2android-app/bin/Release/net8.0-android/*-Signed.apk
algorithm: sha256
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}