Skip to content

Commit 5f8f1d2

Browse files
committed
fix pathspec for uploading artifact
1 parent 1155a71 commit 5f8f1d2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches:
66
- '*'
77
workflow_dispatch:
8+
inputs:
9+
release:
10+
description: 'Create a release'
11+
required: true
12+
default: 'false'
813
workflow_call:
914

1015
jobs:
@@ -26,11 +31,11 @@ jobs:
2631
uses: actions/upload-artifact@v4
2732
with:
2833
name: Debug APK
29-
path: android/build/outputs/apk/**/*.apk
34+
path: android/app/build/outputs/apk/**/*.apk
3035

3136
nightly-release:
3237
runs-on: ubuntu-latest
33-
if: github.event_name == 'push' && github.ref == 'refs/heads/release-nightly'
38+
if: github.event_name == 'push' && github.ref == 'refs/heads/release-nightly' || github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'true'
3439
needs: build-debug-apk
3540
permissions:
3641
contents: write

0 commit comments

Comments
 (0)