Skip to content

Commit

Permalink
Update release.yml (#1385)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Dec 15, 2023
1 parent 35c77b1 commit 0137b67
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/get-release-notes/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Return the release notes extracted from the PR body
name: Return the release notes extracted from the body of the PR associated with the release.

#
# Returns the release notes from the content of a pull request linked to a release branch. It expects the branch name to be in the format release/vX.Y.Z, release/X.Y.Z, release/vX.Y.Z-beta.N. etc.
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
type: string
require-build:
default: true
type: string
release-directory:
default: './'
type: string
secrets:
github-token:
required: true
Expand Down Expand Up @@ -64,6 +68,7 @@ jobs:
with:
node-version: ${{ inputs.node-version }}
require-build: ${{ inputs.require-build }}
release-directory: ${{ inputs.release-directory }}
version: ${{ steps.get_version.outputs.version }}
npm-token: ${{ secrets.npm-token }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: ./.github/workflows/npm-release.yml
with:
node-version: 18
require-build: true
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
require-build: true

0 comments on commit 0137b67

Please sign in to comment.