mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
✨ Expect files during PR checks
This commit is contained in:
@@ -8,6 +8,11 @@ on:
|
|||||||
secrets:
|
secrets:
|
||||||
ENVS:
|
ENVS:
|
||||||
required: false
|
required: false
|
||||||
|
inputs:
|
||||||
|
FILES_TO_EXPECT:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
default: -1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-apk:
|
build-apk:
|
||||||
@@ -28,10 +33,11 @@ jobs:
|
|||||||
docker-compose up
|
docker-compose up
|
||||||
|
|
||||||
- name: Upload Build APKS
|
- name: Upload Build APKS
|
||||||
uses: actions/upload-artifact@v3.1.0
|
uses: nikhilbadyal/upload-artifact@count-check
|
||||||
with:
|
with:
|
||||||
name: Built-APKs
|
name: Built-APKs
|
||||||
path: |
|
path: |
|
||||||
apks/*-output.apk
|
apks/*-output.apk
|
||||||
apks/VancedMicroG.apk"
|
apks/VancedMicroG.apk"
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
files-to-expect: ${{ inputs.FILES_TO_EXPECT }}
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ jobs:
|
|||||||
PYTHON_VERSION: '3.10'
|
PYTHON_VERSION: '3.10'
|
||||||
build-apk-pr-check:
|
build-apk-pr-check:
|
||||||
uses: ./.github/workflows/build-artifact.yml
|
uses: ./.github/workflows/build-artifact.yml
|
||||||
|
with:
|
||||||
|
FILES_TO_EXPECT: 2
|
||||||
secrets:
|
secrets:
|
||||||
ENVS: |
|
ENVS: |
|
||||||
PATCH_APPS=youtube
|
PATCH_APPS=youtube
|
||||||
|
|||||||
Reference in New Issue
Block a user