add checksum to releases; cleanup workflow
This commit is contained in:
23
.github/workflows/release-net.yml
vendored
23
.github/workflows/release-net.yml
vendored
@@ -21,16 +21,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Print name
|
|
||||||
run: echo "Hello $NAME. $BUILD. "
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
BUILD: 'We are currently testing'
|
|
||||||
|
|
||||||
- name: Extract key store
|
- name: Extract key store
|
||||||
env:
|
env:
|
||||||
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
|
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
|
||||||
KeyStore: "${{ github.workspace }}/kp2a_net.keystore"
|
KeyStore: "${{ github.workspace }}/kp2a.keystore"
|
||||||
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@@ -93,7 +87,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build APK (net)
|
- name: Build APK (net)
|
||||||
env:
|
env:
|
||||||
KeyStore: "${{ github.workspace }}/kp2a_net.keystore"
|
KeyStore: "${{ github.workspace }}/kp2a.keystore"
|
||||||
MyAndroidSigningStorePass: ${{ secrets.KEY_STORE_PASSWORD }}
|
MyAndroidSigningStorePass: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||||
MyAndroidSigningKeyPass: ${{ secrets.KEY_PASSWORD }}
|
MyAndroidSigningKeyPass: ${{ secrets.KEY_PASSWORD }}
|
||||||
run: |
|
run: |
|
||||||
@@ -116,4 +110,15 @@ jobs:
|
|||||||
if: github.ref_type == 'tag'
|
if: github.ref_type == 'tag'
|
||||||
with:
|
with:
|
||||||
files: |
|
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 }}
|
||||||
Reference in New Issue
Block a user