Skip to content

Commit 39ccd11

Browse files
committed
Re-order publish steps so artifact isn't deleted by checkout
Signed-off-by: Thijs Baaijen <[email protected]>
1 parent 22cc3e0 commit 39ccd11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-test-and-sonar.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ jobs:
141141
TWINE_PASSWORD: ${{ secrets.PYPI_PASS }}
142142
runs-on: ubuntu-latest
143143
steps:
144+
145+
- name: Checkout source code
146+
uses: actions/checkout@v4 # needed by 'Prevent automatic major/minor release'
147+
144148
- name: Setup Python 3.11
145149
uses: actions/setup-python@v5
146150
with:
@@ -152,10 +156,6 @@ jobs:
152156
name: power-grid-model-ds
153157
path: wheelhouse/
154158

155-
- name: Checkout source code
156-
if: (github.event_name == 'push')
157-
uses: actions/checkout@v4 # needed by 'Prevent automatic major/minor release'
158-
159159
- name: Prevent automatic major/minor release
160160
if: (github.event_name == 'push')
161161
run: |

0 commit comments

Comments
 (0)