Skip to content

Commit cee1bd7

Browse files
committed
packaging debugging
1 parent 79980f7 commit cee1bd7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ on:
2424
description: 'If the workflow should be debugged (skip release)'
2525
default: true
2626
type: boolean
27+
packagingDebug:
28+
description: 'If the packaging step should be debugged (skip release)'
29+
default: true
30+
type: boolean
2731

2832
permissions:
2933
contents: write
@@ -257,9 +261,11 @@ jobs:
257261
version: ${{ env.VERSION_PREFIX }}${{ env.VERSION_SUFFIX }}.${{ github.run_number }}+build.${{ github.sha }}
258262

259263
- name: Debug output
264+
if: inputs.workflowDebug == true
260265
run: ls -R ./dist
261266

262267
- name: Publish GitHub Release
268+
if: inputs.packagingDebug != true
263269
uses: ncipollo/[email protected]
264270
with:
265271
artifacts: "dist/**/*.zip"
@@ -270,7 +276,7 @@ jobs:
270276
tag: v${{ env.VERSION_PREFIX }}${{ env.VERSION_SUFFIX }}.${{ github.run_number }}
271277

272278
publish:
273-
if: inputs.workflowDebug != true
279+
if: inputs.workflowDebug != true && inputs.packagingDebug != true
274280
needs: publish-github
275281
runs-on: ubuntu-latest
276282
steps:

0 commit comments

Comments
 (0)