From 762d985655f3a548c8aa8df6a5a576beb6ede9aa Mon Sep 17 00:00:00 2001 From: bwmac Date: Mon, 16 Dec 2024 11:17:24 -0500 Subject: [PATCH] updates publish.yml --- .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 5b85c995f..9a78afbad 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,6 +10,7 @@ jobs: runs-on: ubuntu-latest 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