Skip to content

Commit

Permalink
fix: running with multiple jobs 3
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatist-ban committed Mar 14, 2024
1 parent 340939d commit 3537870
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/template-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
run: npm install -g semantic-release @semantic-release/changelog @semantic-release/github conventional-changelog-eslint conventional-changelog-conventionalcommits conventional-changelog-angular -D

Generate_Release:
needs: Set_Up
environment: ACTIONS_ENV
runs-on: ubuntu-latest

Expand Down Expand Up @@ -79,6 +80,7 @@ jobs:
echo "RELEASE_VERSION=$(git tag | sort --version-sort | tail -n1 | tr -d 'v')" >> $GITHUB_ENV
Commit_and_Push:
needs: [Set_Up, Generate_Release]
environment: ACTIONS_ENV
runs-on: ubuntu-latest

Expand Down Expand Up @@ -106,6 +108,7 @@ jobs:
email: [email protected]

Publish:
needs: [Set_Up, Generate_Release, Commit_and_Push]
environment: ACTIONS_ENV
runs-on: ubuntu-latest

Expand Down

0 comments on commit 3537870

Please sign in to comment.