@@ -26,32 +26,34 @@ jobs:
2626 with :
2727 ${{ matrix.tools }} : true
2828 args : ${{ matrix.args }}
29-
3029 publish :
31- runs-on : ubuntu-latest
32- steps :
33- - uses : actions/checkout@v2
30+ uses : ./.github/workflows/publish.yml
3431
35- - if : ${{ github.event_name == 'release' }}
36- name : Publish Release to PyPi
37- uses : dciborow/pyaction@0.0.28
38- with :
39- pypi_publish : true
40- pypi_password : ${{ secrets.PYPI_PASSWORD }}
32+ # publish:
33+ # runs-on: ubuntu-latest
34+ # steps:
35+ # - uses: actions/checkout@v2
4136
42- - if : ${{ github.event_name == 'push' }}
43- name : Publish RC to PyPi
44- uses : dciborow/pyaction@0.0.28
45- with :
46- pypi_publish : true
47- pypi_password : ${{ secrets.PYPI_PASSWORD }}
48- version_suffix : -rc${{ github.run_number }}-post${{ github.run_attempt }}
37+ # - if: ${{ github.event_name == 'release' }}
38+ # name: Publish Release to PyPi
39+ # uses: dciborow/pyaction@0.0.28
40+ # with:
41+ # pypi_publish: true
42+ # pypi_password: ${{ secrets.PYPI_PASSWORD }}
4943
50- - if : ${{ github.event_name == 'pull_request' }}
51- name : Publish Snapshot to TestPyPi
52- uses : dciborow/pyaction@0.0.28
53- with :
54- pypi_publish : true
55- pypi_password : ${{ secrets.TEST_PYPI_PASSWORD }}
56- pypi_repo : testpypi
57- version_suffix : -post${{ github.run_number }}-dev${{ github.run_attempt }}
44+ # - if: ${{ github.event_name == 'push' }}
45+ # name: Publish RC to PyPi
46+ # uses: dciborow/pyaction@0.0.28
47+ # with:
48+ # pypi_publish: true
49+ # pypi_password: ${{ secrets.PYPI_PASSWORD }}
50+ # version_suffix: -rc${{ github.run_number }}-post${{ github.run_attempt }}
51+
52+ # - if: ${{ github.event_name == 'pull_request' }}
53+ # name: Publish Snapshot to TestPyPi
54+ # uses: dciborow/pyaction@0.0.28
55+ # with:
56+ # pypi_publish: true
57+ # pypi_password: ${{ secrets.TEST_PYPI_PASSWORD }}
58+ # pypi_repo: testpypi
59+ # version_suffix: -post${{ github.run_number }}-dev${{ github.run_attempt }}
0 commit comments