enable creation of a release

This commit is contained in:
Philipp Crocoll
2025-07-05 14:16:17 +02:00
parent 584feabe44
commit 628c0d2c19

View File

@@ -128,6 +128,7 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: keepass2android_${{ matrix.target }}_${{ matrix.flavor }} name: keepass2android_${{ matrix.target }}_${{ matrix.flavor }}
# the first line is for "apk" target, the second line is for "apk_split" target
path: | path: |
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
@@ -136,9 +137,10 @@ jobs:
run: find . -type f -name "*.apk" run: find . -type f -name "*.apk"
shell: bash shell: bash
#- name: Upload APK to GitHub Release - name: Upload APK to GitHub Release
# uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
# if: github.ref_type == 'tag' if: github.ref_type == 'tag'
# with: with:
# 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