fix pathspec for uploading artifact

This commit is contained in:
Kavish Devar
2024-12-16 16:39:03 +05:30
parent 1155a7103d
commit 5f8f1d2041

View File

@@ -5,6 +5,11 @@ on:
branches: branches:
- '*' - '*'
workflow_dispatch: workflow_dispatch:
inputs:
release:
description: 'Create a release'
required: true
default: 'false'
workflow_call: workflow_call:
jobs: jobs:
@@ -26,11 +31,11 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Debug APK name: Debug APK
path: android/build/outputs/apk/**/*.apk path: android/app/build/outputs/apk/**/*.apk
nightly-release: nightly-release:
runs-on: ubuntu-latest 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 needs: build-debug-apk
permissions: permissions:
contents: write contents: write