Skip to content

Commit b39a904

Browse files
committed
ci: skip github release on pypi test
1 parent 8847992 commit b39a904

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/release-pypi.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
# JOBS > BUILD
9898
# ---------------------------------------------------------------------------------------
9999

100-
build:
100+
job-build:
101101
name: Prepare Package
102102
runs-on: ubuntu-latest
103103
outputs:
@@ -207,12 +207,12 @@ jobs:
207207
# JOBS > Pypi: Official Stable Release
208208
# ---------------------------------------------------------------------------------------
209209

210-
pypi-publish-official:
210+
job-pypi-publish-official:
211211
name: >-
212212
📦 PyPI › Official
213213
if: ${{ github.event.inputs.OPT_PYPI_TYPE == 'Official' }}
214214
needs:
215-
- build
215+
- job-build
216216
runs-on: ubuntu-latest
217217
permissions:
218218
id-token: write # IMPORTANT: mandatory for trusted publishing
@@ -247,12 +247,12 @@ jobs:
247247
# JOBS > Pypi: Test API
248248
# ---------------------------------------------------------------------------------------
249249

250-
pypi-publish-test:
250+
job-pypi-publish-test:
251251
name: >-
252252
📦 PyPI › Test Api
253253
if: ${{ github.event.inputs.OPT_PYPI_TYPE == 'Test' }}
254254
needs:
255-
- build
255+
- job-build
256256
runs-on: ubuntu-latest
257257
permissions:
258258
id-token: write # IMPORTANT: mandatory for trusted publishing
@@ -286,12 +286,12 @@ jobs:
286286
# only executed if user selects PYPI_TYPE == skip when starting action
287287
# ---------------------------------------------------------------------------------------
288288

289-
pypi-publish-skip:
289+
job-pypi-publish-skip:
290290
name: >-
291291
📦 PyPI › Skip
292292
if: ${{ github.event.inputs.OPT_PYPI_TYPE == 'Skip' }}
293293
needs:
294-
- build
294+
- job-build
295295
runs-on: ubuntu-latest
296296
steps:
297297

@@ -317,14 +317,14 @@ jobs:
317317
# JOBS > Distribute Release on Github Releases
318318
# ---------------------------------------------------------------------------------------
319319

320-
dist-release:
320+
job-dist-release:
321321
name: >-
322322
📦 Github › Release
323323
runs-on: ubuntu-latest
324-
needs: [ build, pypi-publish-official, pypi-publish-skip ]
324+
needs: [ job-build, job-pypi-publish-official ]
325325
env:
326-
PACKAGE_VERSION: ${{ needs.build.outputs.package_version }}
327-
PACKAGE_FILENAME: ${{ needs.build.outputs.package_filename }}
326+
PACKAGE_VERSION: ${{ needs.job-build.outputs.package_version }}
327+
PACKAGE_FILENAME: ${{ needs.job-build.outputs.package_filename }}
328328
if: |
329329
always()
330330
&& contains(needs.*.result, 'success')

0 commit comments

Comments
 (0)