Skip to content

Commit 047e766

Browse files
fix npm release workflow (#826)
fixes npm release workflow releases were not happening because of wrong relative path to action files in `npm-release.yml` workflow file.
2 parents 88f9ddb + dc602a8 commit 047e766

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/npm-release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
required: true
88
type: string
99
require-build:
10-
default: true
10+
default: "true"
1111
type: string
1212
release-directory:
1313
default: './'
@@ -32,17 +32,17 @@ jobs:
3232

3333
# Get the version from the branch name
3434
- id: get_version
35-
uses: ./get-version
35+
uses: ./.github/actions/get-version
3636

3737
# Get the prerelease flag from the branch name
3838
- id: get_prerelease
39-
uses: ./get-prerelease
39+
uses: ./.github/actions/get-prerelease
4040
with:
4141
version: ${{ steps.get_version.outputs.version }}
4242

4343
# Get the release notes
4444
- id: get_release_notes
45-
uses: ./get-release-notes
45+
uses: ./.github/actions/get-release-notes
4646
with:
4747
token: ${{ secrets.github-token }}
4848
version: ${{ steps.get_version.outputs.version }}
@@ -51,7 +51,7 @@ jobs:
5151

5252
# Check if the tag already exists
5353
- id: tag_exists
54-
uses: ./tag-exists
54+
uses: ./.github/actions/tag-exists
5555
with:
5656
tag: ${{ steps.get_version.outputs.version }}
5757
token: ${{ secrets.github-token }}
@@ -61,7 +61,7 @@ jobs:
6161
run: exit 1
6262

6363
# Publish the release to our package manager
64-
- uses: ./npm-publish
64+
- uses: ./.github/actions/npm-publish
6565
with:
6666
node-version: ${{ inputs.node-version }}
6767
require-build: ${{ inputs.require-build }}
@@ -70,7 +70,7 @@ jobs:
7070
release-directory: ${{ inputs.release-directory }}
7171

7272
# Create a release for the tag
73-
- uses: ./release-create
73+
- uses: ./.github/actions/release-create
7474
with:
7575
token: ${{ secrets.github-token }}
7676
name: ${{ steps.get_version.outputs.version }}

0 commit comments

Comments
 (0)