From 35378702c9e270f2d2626d318024265f0efa2145 Mon Sep 17 00:00:00 2001 From: Brayan batista zuniga Date: Thu, 14 Mar 2024 18:21:37 -0500 Subject: [PATCH] fix: running with multiple jobs 3 --- .github/workflows/template-main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/template-main.yml b/.github/workflows/template-main.yml index cf33210..04f78bc 100644 --- a/.github/workflows/template-main.yml +++ b/.github/workflows/template-main.yml @@ -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 @@ -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 @@ -106,6 +108,7 @@ jobs: email: bbatist@bancolombia.com.co Publish: + needs: [Set_Up, Generate_Release, Commit_and_Push] environment: ACTIONS_ENV runs-on: ubuntu-latest