Expect files during PR checks

This commit is contained in:
Nikhil Badyal
2022-10-18 22:46:31 +05:30
parent 2fed2a2bb9
commit ba506b466d
2 changed files with 9 additions and 1 deletions
+7 -1
View File
@@ -8,6 +8,11 @@ on:
secrets:
ENVS:
required: false
inputs:
FILES_TO_EXPECT:
type: string
required: false
default: -1
jobs:
build-apk:
@@ -28,10 +33,11 @@ jobs:
docker-compose up
- name: Upload Build APKS
uses: actions/upload-artifact@v3.1.0
uses: nikhilbadyal/upload-artifact@count-check
with:
name: Built-APKs
path: |
apks/*-output.apk
apks/VancedMicroG.apk"
if-no-files-found: error
files-to-expect: ${{ inputs.FILES_TO_EXPECT }}
+2
View File
@@ -14,6 +14,8 @@ jobs:
PYTHON_VERSION: '3.10'
build-apk-pr-check:
uses: ./.github/workflows/build-artifact.yml
with:
FILES_TO_EXPECT: 2
secrets:
ENVS: |
PATCH_APPS=youtube