Skip to content

Commit 332eeb8

Browse files
committed
Update test_package_build.yml
1 parent a6473c7 commit 332eeb8

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/test_package_build.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,25 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v4
20-
with:
21-
fetch-depth: 0
20+
with: {fetch-depth: 0}
21+
2222
- uses: actions/setup-python@v5
2323
with:
24-
python-version: "3.10"
24+
python-version: "3.12"
25+
cache: "pip"
26+
2527
- run: pip install --upgrade build twine
2628
- name: Build sdist and wheel
2729
run: python -m build
2830
- run: twine check dist/*
31+
2932
- name: Upload sdist and wheel artifacts
33+
uses: actions/upload-artifact@v4
3034
with:
3135
name: dist
3236
path: dist/
37+
if-no-files-found: error
38+
3339
- name: Build git archive
3440
run: mkdir archive && git archive -v -o archive/archive.tgz HEAD
3541
- name: Upload git archive artifact

0 commit comments

Comments
 (0)