mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Reusable workflow
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
name: Build Revanced APK
|
||||
env:
|
||||
DOCKER_BUILDKIT: 1
|
||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
ENVS:
|
||||
required: false
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
build-apk:
|
||||
name: APK Build
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Update Env for custom build
|
||||
run: |
|
||||
echo "${{ secrets.ENVS }}" >> .env
|
||||
|
||||
- name: Build Revanced APKs
|
||||
run: |
|
||||
docker-compose up
|
||||
|
||||
- name: Upload Build APKS
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Built-APKs
|
||||
path: |
|
||||
apks/*-output.apk
|
||||
apks/VancedMicroG.apk"
|
||||
if-no-files-found: error
|
||||
Reference in New Issue
Block a user