File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff 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/
You can’t perform that action at this time.
0 commit comments