Skip to content

Commit

Permalink
build: fix typos in workflow yml (#2385)
Browse files Browse the repository at this point in the history
* build: workflows_run -> workflow_run

* workflows

* run multiple jobs
  • Loading branch information
huozhi committed Jan 26, 2023
1 parent 7e4fcc4 commit c0090ab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Release

on:
workflows_run:
workflow: [Lint and Test]
workflow_run:
workflows: [Lint and Test]
types:
- completed
push:
Expand All @@ -20,7 +20,8 @@ jobs:
uses: ./.github/workflows/install

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

0 comments on commit c0090ab

Please sign in to comment.