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
|
name: Updater
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: update
|
||||||
- uses: actions/setup-java@v2
|
image: eclipse-temurin:17.0.6_10-jdk-jammy
|
||||||
with:
|
commands:
|
||||||
distribution: 'temurin'
|
- pipx install pipenv
|
||||||
java-version: '17'
|
- pipenv install
|
||||||
- run: pipx install pipenv
|
- cd updater
|
||||||
- uses: actions/setup-python@v2
|
- pipenv run python main.py
|
||||||
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 a new issue