android_vendor_mulchwebview/.forgejo/workflows/updater.yaml

23 lines
741 B
YAML

name: Updater
on: push
jobs:
Update-Apks:
runs-on: ubuntu-latest
steps:
- uses: https://github.com/actions/checkout@v2
- uses: https://github.com/actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- run: apt update
- run: apt install -y --no-install-recommends python3-venv python3.9 python3-pip
- run: python3 -m pip install pipx
- run: pipx install pipenv
- uses: https://github.com/actions/setup-python@v2
with:
cache: 'pipenv'
cache-dependency-path: 'updater/Pipfile.lock'
- run: pipenv install
working-directory: updater
- run: pipenv run python main.py
working-directory: updater