2023-03-21 22:29:53 -04:00
|
|
|
name: Updater
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
|
|
Update-Apks:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-03-21 22:31:10 -04:00
|
|
|
- uses: https://github.com/actions/checkout@v2
|
|
|
|
- uses: https://github.com/actions/setup-java@v2
|
2023-03-21 22:29:53 -04:00
|
|
|
with:
|
|
|
|
distribution: 'temurin'
|
|
|
|
java-version: '17'
|
|
|
|
- run: apt update
|
2023-03-21 22:32:57 -04:00
|
|
|
- run: apt install -y --no-install-recommends python3-venv python3.9 python3-pip
|
|
|
|
- run: python3 -m pip install pipx
|
2023-03-21 22:29:53 -04:00
|
|
|
- run: pipx install pipenv
|
2023-03-21 22:36:02 -04:00
|
|
|
- run: /root/.local/bin/pipenv install
|
2023-03-21 22:29:53 -04:00
|
|
|
working-directory: updater
|
2023-03-21 22:37:36 -04:00
|
|
|
- run: /root/.local/bin/pipenv run --python python /usr/bin/python3 main.py
|
2023-03-21 22:29:53 -04:00
|
|
|
working-directory: updater
|