Skip to content

Commit c37d866

Browse files
committed
publish to test pypi try2
1 parent c01f202 commit c37d866

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/build_wppm_test_publish.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,11 @@ jobs:
4343
run: |
4444
python -m pip install --no-deps --require-hashes -r ${{ env.WINPYrequirements }}
4545
46-
#- name: Install dependencies to build with pwsh
47-
# shell: pwsh
48-
# run: |
49-
# python -m pip install --no-deps --require-hashes -r $env.WINPYrequirements
50-
51-
- name: try diagnose flit problem
52-
shell: bash
53-
run: |
54-
git status
55-
git status --ignored --untracked-files=all
56-
5746
- name: Build sdist
5847
shell: bash
5948
run: |
6049
python -m flit build && ls -l dist
6150
62-
6351
- name: prepare result
6452
shell: bash
6553
run: |
@@ -81,13 +69,13 @@ jobs:
8169
- uses: actions/upload-artifact@v4
8270
with:
8371
name: artifacts-${{ matrix.os }}
84-
path: ./wheelhouse/*.*
85-
retention-days: 3 # keeps artifact for 3 days
72+
path: ./dist/wppm*.whl
73+
retention-days: 66 # keeps artifact for 66 days
8674

8775
upload_pypi_test:
8876
name: Upload to PyPI (test)
8977
needs: [build_wheels]
90-
runs-on: windows-latest
78+
runs-on: ubuntu-24.04
9179
permissions:
9280
# This permission is required for pypi's "trusted publisher" feature
9381
id-token: write

0 commit comments

Comments
 (0)