Skip to content

Commit

Permalink
fix: try to fix version issue in publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m-clare committed Dec 2, 2024
1 parent 9f17fb6 commit 396e677
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
python -m pip install poetry toml
VERSION=$(python -c "import toml; print(toml.load('pyproject.toml')['tool']['poetry']['version'])")
poetry version $VERSION
poetry lock --no-update
poetry install
Expand Down Expand Up @@ -54,7 +56,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
python -m pip install poetry toml
VERSION=$(python -c "import toml; print(toml.load('pyproject.toml')['tool']['poetry']['version'])")
poetry version $VERSION
poetry lock --no-update
poetry install
Expand Down

0 comments on commit 396e677

Please sign in to comment.