Skip to content

Commit

Permalink
Skip release npm
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc committed Apr 5, 2024
1 parent 5b6e3b4 commit e5a397b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: "Step 2: Publish Release"
name: 'Step 2: Publish Release'
on:
workflow_dispatch:
inputs:
branch:
description: "The target branch"
description: 'The target branch'
required: false
release_url:
description: "The URL of the draft GitHub release"
description: 'The URL of the draft GitHub release'
required: false
steps_to_skip:
description: "Comma separated list of steps to skip"
description: 'Comma separated list of steps to skip'
required: false

jobs:
Expand All @@ -20,7 +20,7 @@ jobs:
id-token: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- uses: actions/create-github-app-token@v1
id: app-token
with:
Expand All @@ -34,7 +34,7 @@ jobs:
token: ${{ steps.app-token.outputs.token }}
branch: ${{ github.event.inputs.branch }}
release_url: ${{ github.event.inputs.release_url }}
steps_to_skip: ${{ github.event.inputs.steps_to_skip }}
steps_to_skip: '${{ github.event.inputs.steps_to_skip }},build_npm,check_npm'

- name: Finalize Release
id: finalize-release
Expand All @@ -53,4 +53,4 @@ jobs:
if: ${{ failure() }}
run: |
echo "Failed to Publish the Draft Release Url:"
echo ${{ steps.populate-release.outputs.release_url }}
echo ${{ steps.populate-release.outputs.release_url }}

0 comments on commit e5a397b

Please sign in to comment.