From d9aedec97dc8edfe0d4257c949b7b5dfe1314c27 Mon Sep 17 00:00:00 2001 From: CindyvdVries Date: Fri, 14 Jun 2024 17:09:08 +0200 Subject: [PATCH] spaces --- .github/workflows/docker_image.yml | 2 +- .github/workflows/setup_environment.yml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker_image.yml b/.github/workflows/docker_image.yml index 38feeb88..345176c1 100644 --- a/.github/workflows/docker_image.yml +++ b/.github/workflows/docker_image.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup environment - uses: ./.github/workflows/setup_environment.yml + uses: ./.github/workflows/setup_environment.yml - name: bump version and update template_input.yaml run: | PROJECT_VERSION=$(poetry version --short) diff --git a/.github/workflows/setup_environment.yml b/.github/workflows/setup_environment.yml index e69de29b..1e1a3b7d 100644 --- a/.github/workflows/setup_environment.yml +++ b/.github/workflows/setup_environment.yml @@ -0,0 +1,21 @@ +name: Setup environment + +on: [workflow_call] + +jobs: + create-release: + runs-on: ubuntu-latest + steps: + - name: checkout code + uses: actions/checkout@v4 + with: + token: ${{ secrets.VERSION_DECOIMPACT }} + fetch-depth: 0 + - name: install python + uses: actions/setup-python@v4 + with: + python-version: 3.11 + - name: Install poetry + uses: abatilo/actions-poetry@v2 + with: + poetry-version: 1.4.2 \ No newline at end of file