File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1919 python -m pip install -U build
2020 - name : Build Package
2121 run : python -m build
22+ - uses : actions/upload-artifact@v3
23+ with :
24+ name : dist_dir
25+ path : dist
26+ retention-days : 1
Original file line number Diff line number Diff line change 99 prepare :
1010 uses : ./.github/workflows/package.yml
1111 publish :
12+ needs : prepare
1213 runs-on : ubuntu-latest
1314 steps :
15+ - uses : actions/download-artifact@v3
16+ with :
17+ name : dist_dir
1418 - name : Publish the Package on TestPyPI
1519 uses : pypa/gh-action-pypi-publish@release/v1
1620 with :
Original file line number Diff line number Diff line change 99 prepare :
1010 uses : ./.github/workflows/package.yml
1111 publish :
12+ needs : prepare
1213 runs-on : ubuntu-latest
1314 steps :
15+ - uses : actions/download-artifact@v3
16+ with :
17+ name : dist_dir
1418 - name : Publish the Package
1519 if : startsWith(github.ref, 'refs/tags')
1620 uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments