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