Add '.forgejo/workflows/updater.yaml'

This commit is contained in:
matt1432 2023-03-21 22:29:53 -04:00
parent d5fa6cff6a
commit 25222a9913

View file

@ -0,0 +1,22 @@
name: Updater
on: push
jobs:
Update-Apks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- run: apt update
- run: apt install -y --no-install-recommends pipx python3-venv python3.9 python3-pip git
- run: pipx install pipenv
- uses: 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