update workflows to not create signed apks during build but only in release. Create releases as drafts.
This commit is contained in:
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@@ -324,24 +324,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make dotnetbuild Flavor=Net
|
make dotnetbuild Flavor=Net
|
||||||
|
|
||||||
- name: Extract key store
|
|
||||||
env:
|
|
||||||
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
|
|
||||||
KeyStore: "${{ github.workspace }}/kp2a.keystore"
|
|
||||||
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo $KeyStore
|
|
||||||
echo $KEYSTORE_BASE64 | base64 --decode > $KeyStore
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Build APK (net)
|
- name: Build APK (net)
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
env:
|
env:
|
||||||
KeyStore: "${{ github.workspace }}/kp2a.keystore"
|
|
||||||
MyAndroidSigningStorePass: ${{ secrets.KEY_STORE_PASSWORD }}
|
|
||||||
MyAndroidSigningKeyPass: ${{ secrets.KEY_PASSWORD }}
|
|
||||||
DropboxAppKey: ${{ secrets.DROPBOX_APP_KEY }}
|
DropboxAppKey: ${{ secrets.DROPBOX_APP_KEY }}
|
||||||
DropboxAppSecret: ${{ secrets.DROPBOX_APP_SECRET }}
|
DropboxAppSecret: ${{ secrets.DROPBOX_APP_SECRET }}
|
||||||
DropboxAppFolderAppKey: ${{ secrets.DROPBOX_APP_FOLDER_APP_KEY }}
|
DropboxAppFolderAppKey: ${{ secrets.DROPBOX_APP_FOLDER_APP_KEY }}
|
||||||
@@ -352,7 +337,7 @@ jobs:
|
|||||||
- name: Archive production artifacts (net)
|
- name: Archive production artifacts (net)
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: signed APK ('net' built on ${{ github.job }})
|
name: archive APK ('net' built on ${{ github.job }})
|
||||||
path: |
|
path: |
|
||||||
src/keepass2android-app/bin/Release/net8.0-android/publish/*.apk
|
src/keepass2android-app/bin/Release/net8.0-android/publish/*.apk
|
||||||
|
|
||||||
@@ -378,7 +363,7 @@ jobs:
|
|||||||
- name: Archive production artifacts (nonet)
|
- name: Archive production artifacts (nonet)
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: signed APK ('nonet' built on ${{ github.job }})
|
name: archive APK ('nonet' built on ${{ github.job }})
|
||||||
path: |
|
path: |
|
||||||
src/keepass2android-app/bin/Release/net8.0-android/publish/*.apk
|
src/keepass2android-app/bin/Release/net8.0-android/publish/*.apk
|
||||||
|
|
||||||
|
|||||||
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -141,6 +141,7 @@ jobs:
|
|||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
if: github.ref_type == 'tag'
|
if: github.ref_type == 'tag'
|
||||||
with:
|
with:
|
||||||
|
draft: true
|
||||||
files: |
|
files: |
|
||||||
src/keepass2android-app/bin/Release/net8.0-android/publish/*.apk
|
src/keepass2android-app/bin/Release/net8.0-android/publish/*.apk
|
||||||
src/keepass2android-app/bin/Release/net8.0-android/*/publish/*.apk
|
src/keepass2android-app/bin/Release/net8.0-android/*/publish/*.apk
|
||||||
|
|||||||
Reference in New Issue
Block a user