Skip to content

Commit 8defdc6

Browse files
authored
Merge branch 'main' into mk/tr-musl
2 parents 3d39f9a + b1cdfd3 commit 8defdc6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/turborepo-library-release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Turborepo Library Release
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
dry_run:
7+
description: "Do a dry run, skipping the final publish step."
8+
type: boolean
59

610
jobs:
711
build:
@@ -154,6 +158,7 @@ jobs:
154158
- name: Publish Artifacts
155159
env:
156160
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
161+
if: ${{ !inputs.dry_run }}
157162
run: |
158163
npm config set --location=project "//registry.npmjs.org/:_authToken" ${NPM_TOKEN}
159164
VERSION=$(jq -r .version packages/turbo-repository/js/package.json)

0 commit comments

Comments
 (0)