File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 40
40
path : ./quaddtype/wheelhouse/*.whl
41
41
name : wheels-${{ matrix.os }}
42
42
43
+ publish_to_testpypi :
44
+ name : Publish to TestPyPI
45
+ needs : build_wheels
46
+ runs-on : ubuntu-latest
47
+ if : github.event_name == 'push' && (github.ref == 'refs/heads/testing-pkg' || startsWith(github.ref, 'refs/tags/'))
48
+
49
+ steps :
50
+ - name : Download all workflow run artifacts
51
+ uses : actions/download-artifact@v2
52
+ with :
53
+ path : dist
54
+
55
+ - name : Publish to TestPyPI
56
+ uses : pypa/gh-action-pypi-publish@release/v1
57
+ with :
58
+ user : __token__
59
+ password : ${{ secrets.PYPI_API_TOKEN }}
60
+ repository-url : https://test.pypi.org/legacy/
61
+ packages-dir : dist/*
62
+
43
63
create_release :
44
64
name : Create Release
45
65
needs : build_wheels
You can’t perform that action at this time.
0 commit comments