enable creation of a release
This commit is contained in:
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@@ -81,7 +81,7 @@ jobs:
|
|||||||
- name: List apks
|
- name: List apks
|
||||||
run: find . -type f -name "*.apk"
|
run: find . -type f -name "*.apk"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Update dotnet workloads
|
- name: Update dotnet workloads
|
||||||
run: |
|
run: |
|
||||||
dotnet workload update
|
dotnet workload update
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user