forked from upstream-mirrors/OpenTracks
ci: fix apk artifacts path for release action
This commit is contained in:
@@ -57,6 +57,13 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: ./gradlew assembleDebug
|
run: ./gradlew assembleDebug
|
||||||
|
|
||||||
|
- name: Prepare APKs
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
mkdir -p release-apks
|
||||||
|
find . -name "*.apk" -print -exec cp {} release-apks/ \;
|
||||||
|
ls -la release-apks/
|
||||||
|
|
||||||
- name: Upload to Gitea Releases
|
- name: Upload to Gitea Releases
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
@@ -64,6 +71,7 @@ jobs:
|
|||||||
name: "Latest Build (main)"
|
name: "Latest Build (main)"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
artifacts: "build/outputs/apk/**/*.apk"
|
replacesArtifacts: true
|
||||||
|
artifacts: "release-apks/*.apk"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user