Compare commits
10 commits
d5fa6cff6a
...
91900ad4a6
Author | SHA1 | Date | |
---|---|---|---|
91900ad4a6 | |||
|
81184a7264 | ||
43f7d12a9e | |||
2ceeb86730 | |||
8facf517c5 | |||
1f66cc3ff2 | |||
5b3e0e5777 | |||
ae621385bf | |||
9b9b2f61f5 | |||
25222a9913 |
1 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/updater.yaml
Normal file
21
.forgejo/workflows/updater.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Updater
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 7 * * *'
|
||||
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
|
||||
- run: /root/.local/bin/pipenv install
|
||||
working-directory: updater
|
||||
- run: /root/.local/bin/pipenv --python /usr/bin/python3.9 run python main.py
|
||||
working-directory: updater
|
Loading…
Reference in a new issue