run automatic updates with github actions
This commit is contained in:
parent
b5b22c7123
commit
ca01d21c8d
24
.github/workflows/updater.yml
vendored
Normal file
24
.github/workflows/updater.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: Updater
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '37 13 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
jobs:
|
||||||
|
Update-Apks:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: '17'
|
||||||
|
- run: pipx install pipenv
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: '3.9'
|
||||||
|
cache: 'pipenv'
|
||||||
|
cache-dependency-path: 'updater/Pipfile.lock'
|
||||||
|
- run: pipenv install
|
||||||
|
working-directory: updater
|
||||||
|
- run: pipenv run python main.py
|
||||||
|
working-directory: updater
|
Loading…
Reference in New Issue
Block a user