fix(updater): 2nd attempt to convert to drone
This commit is contained in:
parent
5e9b4a27fa
commit
8619eaaa9d
1 changed files with 7 additions and 15 deletions
22
.github/workflows/updater.yml
vendored
22
.github/workflows/updater.yml
vendored
|
@ -3,18 +3,10 @@ type: docker
|
|||
name: Updater
|
||||
|
||||
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
|
||||
- name: update
|
||||
image: eclipse-temurin:17.0.6_10-jdk-jammy
|
||||
commands:
|
||||
- pipx install pipenv
|
||||
- pipenv install
|
||||
- cd updater
|
||||
- pipenv run python main.py
|
||||
|
|
Loading…
Reference in a new issue