From c657388a960180455a04ffab4721ed2e6e905978 Mon Sep 17 00:00:00 2001 From: andrewelamb Date: Mon, 16 Dec 2024 09:20:17 -0800 Subject: [PATCH] updates publish.yml (#1558) (#1561) Co-authored-by: Brad Macdonald <52762200+BWMac@users.noreply.github.com> --- .github/workflows/publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6def85497..8f2e686ea 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,6 +10,7 @@ jobs: runs-on: ubuntu-22.04 env: POETRY_VERSION: 1.3.0 + PYTHON_VERSION: "3.10" if: github.event_name == 'push' && contains(github.ref, 'refs/tags') steps: #---------------------------------------------- @@ -18,10 +19,10 @@ jobs: - name: Check out repository uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python ${{ env.PYTHON_VERSION }} uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ env.PYTHON_VERSION }} #---------------------------------------------- # install & configure poetry @@ -48,7 +49,7 @@ jobs: - name: Get current pushed tag run: | echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - echo ${{ env.RELEASE_VERSION }} + echo "$RELEASE_VERSION" #---------------------------------------------- # override version tag