Skip to content

Commit 65d7fb4

Browse files
committed
Improve publishing
1 parent 5d34e43 commit 65d7fb4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/verify.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ jobs:
3333
steps:
3434
- name: Check out committed code
3535
uses: actions/checkout@v4
36+
- name: Prepare uv
37+
if: steps.check_package.outputs.should_publish == 'true'
38+
run: |
39+
pip install uv
40+
uv venv --seed venv
41+
. venv/bin/activate
42+
uv pip install toml
3643
- name: Check for existing package on TestPyPI
3744
id: check_package
3845
run: |
@@ -47,11 +54,6 @@ jobs:
4754
echo "Package version does not exist. Proceeding with upload."
4855
echo "::set-output name=should_publish::true"
4956
fi
50-
- name: Prepare uv
51-
if: steps.check_package.outputs.should_publish == 'true'
52-
run: |
53-
pip install uv
54-
uv venv --seed venv
5557
- name: Build
5658
if: steps.check_package.outputs.should_publish == 'true'
5759
run: |

0 commit comments

Comments
 (0)