diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5232ef1..3035dbb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,23 +7,23 @@ on: jobs: generate-tag: + runs-on: ubuntu-latest + name: Production build of the Docker Image steps: - name: Checkout uses: actions/checkout@v3 - name: Semantic Release uses: cycjimmy/semantic-release-action@v3 id: semantic - with: - # You can select another working directory like a subdirectory for example. - working_directory: ./code env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} build-docker: runs-on: ubuntu-latest + needs: generate-tag name: Production build of the Docker Image - if: jobs.generate-tag.steps.semantic.new_release_published == 'true' + if: needs.semantic.new_release_published == 'true' steps: - uses: actions/checkout@v2 - name: Pull