Skip to content

Commit caf722a

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

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/test_package_build.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,20 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v4
20-
with: {fetch-depth: 0}
21-
20+
with:
21+
fetch-depth: 0
2222
- uses: actions/setup-python@v5
2323
with:
24-
python-version: "3.12"
25-
cache: "pip"
26-
24+
python-version: "3.10"
2725
- run: pip install --upgrade build twine
2826
- name: Build sdist and wheel
2927
run: python -m build
3028
- run: twine check dist/*
31-
3229
- name: Upload sdist and wheel artifacts
3330
uses: actions/upload-artifact@v4
3431
with:
3532
name: dist
3633
path: dist/
37-
if-no-files-found: error
38-
3934
- name: Build git archive
4035
run: mkdir archive && git archive -v -o archive/archive.tgz HEAD
4136
- name: Upload git archive artifact
@@ -52,13 +47,13 @@ jobs:
5247
steps:
5348
- name: Download sdist and wheel artifacts
5449
if: matrix.package != 'archive'
55-
uses: actions/upload-artifact@v4
50+
uses: actions/download-artifact@v4
5651
with:
5752
name: dist
5853
path: dist/
5954
- name: Download git archive artifact
6055
if: matrix.package == 'archive'
61-
uses: actions/upload-artifact@v4
56+
uses: actions/download-artifact@v4
6257
with:
6358
name: archive
6459
path: archive/

0 commit comments

Comments
 (0)