Skip to content

Commit

Permalink
updates publish.yml (#1558) (#1561)
Browse files Browse the repository at this point in the history
Co-authored-by: Brad Macdonald <[email protected]>
  • Loading branch information
andrewelamb and BWMac authored Dec 16, 2024
1 parent 6c85b8e commit c657388
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
#----------------------------------------------
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c657388

Please sign in to comment.