mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 11:58:37 +09:00
6d8bb77727
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.1.0...v3.2.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
63 lines
1.4 KiB
YAML
63 lines
1.4 KiB
YAML
name: Build & Upload
|
|
env:
|
|
DOCKER_BUILDKIT: 1
|
|
COMPOSE_DOCKER_CLI_BUILD: 1
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
FILES_TO_EXPECT:
|
|
type: string
|
|
required: false
|
|
default: '-1'
|
|
workflow_call:
|
|
secrets:
|
|
ENVS:
|
|
required: false
|
|
inputs:
|
|
FILES_TO_EXPECT:
|
|
type: string
|
|
required: false
|
|
default: '-1'
|
|
COMMIT_CHANGELOG:
|
|
type: boolean
|
|
required: false
|
|
default: false
|
|
|
|
jobs:
|
|
build-apk:
|
|
name: APK Build
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
|
|
steps:
|
|
- name: Check out Git repository
|
|
uses: actions/checkout@v3.2.0
|
|
|
|
- name: Update Env for custom build
|
|
run: |
|
|
echo "${{ secrets.ENVS }}" >> .env
|
|
|
|
- name: Build Revanced APKs
|
|
run: |
|
|
docker-compose up
|
|
|
|
- name: Upload Build APKS
|
|
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 }}
|
|
|
|
- name: Commit Update file
|
|
if: ${{ inputs.COMMIT_CHANGELOG }}
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
branch: changelogs
|
|
skip_checkout: true
|
|
file_pattern: changelog.md
|
|
commit_message: 🚀New Build
|
|
push_options: '--force'
|