Skip to content

Commit

Permalink
feat: version job only for main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
sbstjn committed Dec 17, 2020
1 parent eef91db commit c4c9e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
- run: yarn test
version:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs:
- build
- test
steps:
- uses: actions/checkout@v2

- if: github.ref == 'refs/heads/main'
uses: cycjimmy/semantic-release-action@v2
- uses: cycjimmy/semantic-release-action@v2
name: Semantic Release
timeout-minutes: 2
id: semantic
Expand Down

0 comments on commit c4c9e7f

Please sign in to comment.