Skip to content

Commit

Permalink
ci: update npm publish (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
okhiroyuki authored Jan 20, 2024
1 parent f2b66a1 commit cd7bdd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Android Project
on:
pull_request:
push:
branches: main
branches: [main]

jobs:
build:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ name: npm publish

on:
workflow_run:
workflows:
- Build Android Project
branches: main
types:
- "completed"
workflows: [Build Android Project]
branches: [main]
types: [completed]

jobs:
publish:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down

0 comments on commit cd7bdd1

Please sign in to comment.