From e78ceb6910e01c6485030106beb36a68e04a72f5 Mon Sep 17 00:00:00 2001 From: Elijah Date: Fri, 12 Jan 2024 10:00:13 +0100 Subject: [PATCH] Try serializing steps for installing py3-venv -> creating venv --- .gitea/workflows/ci-pipeline.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/ci-pipeline.yaml b/.gitea/workflows/ci-pipeline.yaml index b6c4f17..8e6005e 100644 --- a/.gitea/workflows/ci-pipeline.yaml +++ b/.gitea/workflows/ci-pipeline.yaml @@ -20,6 +20,7 @@ jobs: python3 -c "print('Python is installed')" - name: Install python3-venv + id: install run: | apt-get update && apt-get install python3-virtualenv -y @@ -27,6 +28,8 @@ jobs: run: | python3 -m venv venv source venv/bin/activate + # https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context + if: steps.install.outcome == 'success' - name: Install dependencies run: |