Skip to content

Commit 91f4f4c

Browse files
Reverting the testing changes
1 parent 9ec2ce6 commit 91f4f4c

2 files changed

Lines changed: 7 additions & 12 deletions

File tree

.github/workflows/v5-ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ on:
66
- v5
77
pull_request:
88
branches:
9-
- master
9+
- v5
1010
jobs:
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:
@@ -31,8 +29,6 @@ jobs:
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:

.github/workflows/v5-publish.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
default: 'testpypi'
1414
pull_request:
1515
branches:
16-
- master
16+
- v5
1717

1818
permissions:
1919
contents: write
@@ -29,7 +29,6 @@ jobs:
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: |

0 commit comments

Comments
 (0)