File tree Expand file tree Collapse file tree 1 file changed +22
-4
lines changed
Expand file tree Collapse file tree 1 file changed +22
-4
lines changed Original file line number Diff line number Diff line change 1717 - pypi
1818
1919jobs :
20- test :
21- # We want to run on external PRs, but not on our own internal PRs as they'll be run
22- # by the push to the branch. Without this if check, checks are duplicated since
23- # internal PRs match both the push and pull_request events.
20+ build :
2421 if :
2522 github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
2623 github.repository
2724
25+ name : Build source distribution
26+ runs-on : ubuntu-latest
27+ steps :
28+ - uses : actions/checkout@v6
29+ - uses : actions/setup-python@v6
30+ with :
31+ python-version : " 3.14"
32+
33+ - name : Build sdist
34+ run : |
35+ pip install nox
36+ nox -s build
37+
38+ - uses : actions/upload-artifact@v6
39+ with :
40+ name : build-dist
41+ path : ${{ github.workspace }}/dist/
42+ if-no-files-found : error
43+
44+ test :
45+ needs : [build]
2846 runs-on : ${{ matrix.os }}
2947
3048 defaults :
You can’t perform that action at this time.
0 commit comments