Skip to content

Commit

Permalink
Added python version back to workflow (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
chughes741 authored Aug 5, 2023
1 parent 824acba commit 8e015d5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ permissions:
jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
environment: release
permissions:
id-token: write
Expand All @@ -19,14 +22,18 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
run: |
pipx install poetry
pipx inject poetry poetry-bumpversion
- name: Bump version
run: |
$POETRY_HOME/bin/pip install --user poetry-bumpversion
poetry version ${{ github.ref_name }}
- name: Build package
Expand Down

0 comments on commit 8e015d5

Please sign in to comment.