From 5f8f1d204152c9e9806c66e4786a9e879d043ee9 Mon Sep 17 00:00:00 2001 From: Kavish Devar Date: Mon, 16 Dec 2024 16:39:03 +0530 Subject: [PATCH] fix pathspec for uploading artifact --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec29086..5533f6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,11 @@ on: branches: - '*' workflow_dispatch: + inputs: + release: + description: 'Create a release' + required: true + default: 'false' workflow_call: jobs: @@ -26,11 +31,11 @@ jobs: uses: actions/upload-artifact@v4 with: name: Debug APK - path: android/build/outputs/apk/**/*.apk + path: android/app/build/outputs/apk/**/*.apk nightly-release: runs-on: ubuntu-latest - if: github.event_name == 'push' && github.ref == 'refs/heads/release-nightly' + if: github.event_name == 'push' && github.ref == 'refs/heads/release-nightly' || github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'true' needs: build-debug-apk permissions: contents: write