File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - v5
77 pull_request :
88 branches :
9- - master
9+ - v5
1010jobs :
1111 compile :
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Checkout repo
1515 uses : actions/checkout@v4
16- with :
17- ref : v5
1816 - name : Set up python
1917 uses : actions/setup-python@v4
2018 with :
3129 steps :
3230 - name : Checkout repo
3331 uses : actions/checkout@v4
34- with :
35- ref : v5
3632 - name : Set up python
3733 uses : actions/setup-python@v4
3834 with :
Original file line number Diff line number Diff line change 1313 default : ' testpypi'
1414 pull_request :
1515 branches :
16- - master
16+ - v5
1717
1818permissions :
1919 contents : write
2929 - name : Checkout code
3030 uses : actions/checkout@v5
3131 with :
32- ref : v5
3332 fetch-depth : 0
3433 fetch-tags : true
3534
@@ -95,11 +94,11 @@ jobs:
9594 skip-existing : true
9695 print-hash : true
9796
98- # - name: Publish to PyPI
99- # if: github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'pypi'
100- # uses: pypa/gh-action-pypi-publish@release/v1
101- # with:
102- # print-hash: true
97+ - name : Publish to PyPI
98+ if : github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'pypi'
99+ uses : pypa/gh-action-pypi-publish@release/v1
100+ with :
101+ print-hash : true
103102
104103 - name : Summary
105104 run : |
You can’t perform that action at this time.
0 commit comments