Skip to content

Commit 441807c

Browse files
committed
fix: conditional for publishing was on wrong step
1 parent dbaeb6c commit 441807c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
python -m venv ${{ env.VIRTUAL_ENV }}
3838
pdm sync --verbose --dev
3939
- name: Run tests
40-
if: matrix.python-version == '3.11'
4140
run: |
4241
source ${{ env.VIRTUAL_ENV }}/bin/activate
4342
python -m pytest
4443
- name: Publish to test repository
44+
if: matrix.python-version == '3.11'
4545
env:
4646
PDM_PUBLISH_USERNAME: ${{ secrets.PDM_TEST_PUBLISH_USERNAME }}
4747
PDM_PUBLISH_PASSWORD: ${{ secrets.PDM_TEST_PUBLISH_PASSWORD }}

0 commit comments

Comments
 (0)