From 8619eaaa9d7c0ee5e0137f3795ef487b556a2191 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 8 Mar 2023 15:11:36 -0500 Subject: [PATCH] fix(updater): 2nd attempt to convert to drone --- .github/workflows/updater.yml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml index 4c0f86c..90e3046 100644 --- a/.github/workflows/updater.yml +++ b/.github/workflows/updater.yml @@ -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