Skip to content

Commit 649a41d

Browse files
committed
Fix publish-test.yml: Remove duplicate krb5 install, restore cache conditional
- Remove duplicate system dependencies step - Restore cache conditional to match main branch - Keep Python 3.10 (our change from 3.9)
1 parent 74ea9cf commit 649a41d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/publish-test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ jobs:
1616
with:
1717
python-version: "3.10"
1818
#----------------------------------------------
19-
# ----- install system dependencies -----
20-
#----------------------------------------------
21-
- name: Install system dependencies
22-
run: |
23-
sudo apt-get update
24-
sudo apt-get install -y libkrb5-dev
25-
#----------------------------------------------
2619
# ----- install & configure poetry -----
2720
#----------------------------------------------
2821
- name: Install Poetry
@@ -42,13 +35,14 @@ jobs:
4235
path: .venv
4336
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}
4437
#----------------------------------------------
45-
# install dependencies
38+
# install dependencies if cache does not exist
4639
#----------------------------------------------
4740
- name: Install Kerberos system dependencies
4841
run: |
4942
sudo apt-get update
5043
sudo apt-get install -y libkrb5-dev
5144
- name: Install dependencies
45+
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
5246
run: poetry install --no-interaction --no-root
5347
#----------------------------------------------
5448
# Get the current version and increment it (test-pypi requires a unique version number)

0 commit comments

Comments
 (0)