From 2b123f5f7ce4840424daab3e62e121eba263a939 Mon Sep 17 00:00:00 2001 From: danielfromearth Date: Mon, 22 Apr 2024 14:48:13 -0400 Subject: [PATCH] fix unresolved version numbers in CI pipeline --- .github/workflows/release-created.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-created.yml b/.github/workflows/release-created.yml index 226b347..a17dc4f 100644 --- a/.github/workflows/release-created.yml +++ b/.github/workflows/release-created.yml @@ -4,6 +4,10 @@ name: Release Branch Created on: create +env: + POETRY_VERSION: "1.3.2" + PYTHON_VERSION: "3.10" + jobs: # First job in the workflow builds and verifies the software artifacts bump: @@ -20,11 +24,11 @@ jobs: ref: 'refs/heads/develop' - uses: actions/setup-python@v5 with: - python-version: 3.10 + python-version: ${{ env.PYTHON_VERSION }} - name: Install Poetry uses: abatilo/actions-poetry@v3.0.0 with: - poetry-version: 1.3.2 + poetry-version: ${{ env.POETRY_VERSION }} - name: Bump minor version run: | poetry version ${GITHUB_REF#refs/heads/release/}