Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Runs 3 times #4

Closed
Hunam6 opened this issue Apr 9, 2020 · 1 comment
Closed

[bug] Runs 3 times #4

Hunam6 opened this issue Apr 9, 2020 · 1 comment

Comments

@Hunam6
Copy link

Hunam6 commented Apr 9, 2020

My workflow file:

on: release

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v1
        with:
          node-version: 12
      - run: yarn install
      - run: yarn test
      - uses: JS-DevTools/npm-publish@v1
        with:
          token: ${{secrets.npm_token}}

@JamesMessinger
Copy link
Member

This doesn't have anything to do with npm-publish. GitHub Actions is running your workflow 3 times. I'm not very familiar with the "release" action, but perhaps you're doing something that's triggering that action multiple times, such as editing the release notes. If you believe this is a bug, then you should open an issue on GitHub Actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants