Skip to content

Commit

Permalink
More publishing pipeline tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipsj committed Sep 4, 2024
1 parent 4d3c3ab commit ef382f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# Cache the installation of Poetry itself, e.g. the next step. This prevents the workflow
Expand Down Expand Up @@ -56,6 +56,7 @@ jobs:
path: .venv
key: pydeps-${{ hashFiles('**/poetry.lock') }}

- run: poetry self add "poetry-dynamic-versioning[plugin]"
# Install dependencies. `--no-root` means "install all dependencies but not the project
# itself", which is what you want to avoid caching _your_ code. The `if` statement
# ensures this only runs on a cache miss.
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# Cache the installation of Poetry itself, e.g. the next step. This prevents the workflow
Expand Down Expand Up @@ -50,6 +50,7 @@ jobs:
path: .venv
key: pydeps-${{ hashFiles('**/poetry.lock') }}

- run: poetry self add "poetry-dynamic-versioning[plugin]"
# Install dependencies. `--no-root` means "install all dependencies but not the project
# itself", which is what you want to avoid caching _your_ code. The `if` statement
# ensures this only runs on a cache miss.
Expand Down

0 comments on commit ef382f1

Please sign in to comment.