Skip to content

Commit c0090ab

Browse files
authored
build: fix typos in workflow yml (#2385)
* build: workflows_run -> workflow_run * workflows * run multiple jobs
1 parent 7e4fcc4 commit c0090ab

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Release
22

33
on:
4-
workflows_run:
5-
workflow: [Lint and Test]
4+
workflow_run:
5+
workflows: [Lint and Test]
66
types:
77
- completed
88
push:
@@ -20,7 +20,8 @@ jobs:
2020
uses: ./.github/workflows/install
2121

2222
- name: Publish
23-
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
24-
- run: npm publish --access public
23+
run: |
24+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
25+
npm publish --access public
2526
env:
2627
NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }}

0 commit comments

Comments
 (0)