From e577c8f01d30612d52e512d9f6daa2c148d2a34c Mon Sep 17 00:00:00 2001 From: Danielle Adams Date: Fri, 13 Oct 2023 11:16:00 -0600 Subject: [PATCH] Fix finish-build inputs Fixing inputs for the finish-build job. The NEXT version is not generated by the deployment artifacts job anymore, it comes from the setup build job. --- workflow-templates/im-build-dotnet-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/workflow-templates/im-build-dotnet-ci.yml b/workflow-templates/im-build-dotnet-ci.yml index d612a27b..feca805f 100644 --- a/workflow-templates/im-build-dotnet-ci.yml +++ b/workflow-templates/im-build-dotnet-ci.yml @@ -1,4 +1,4 @@ -# Workflow Code: LoathsomeSnipe_v48 DO NOT REMOVE +# Workflow Code: LoathsomeSnipe_v49 DO NOT REMOVE # Purpose: # Automatically checks out the code, builds, run tests and creates artifacts # which are uploaded to a GH release when commits are pushed to a PR. In the @@ -600,10 +600,10 @@ jobs: # 3 - Check for workflow failures finish-build: if: always() && needs.setup-build-workflow.outputs.CONTINUE_WORKFLOW == 'true' - needs: [dotnet-test, jest, build-deployment-artifacts] + needs: [setup-build-workfow, dotnet-test, jest] uses: im-practices/.github/.github/workflows/im-reusable-finish-build-workflow.yml@v2 with: - next-version: ${{ needs.build-deployment-artifacts.outputs.NEXT_VERSION }} + next-version: ${{ needs.setup-build-workflow.outputs.NEXT_VERSION }} title-of-teams-post: ' CI Build' # TODO: Replace is-merge-to-main: ${{ needs.setup-build-workflow.outputs.IS_MERGE_TO_MAIN }} additional-conclusions: | # TODO: Determine if there are any additional step outcomes/outputs you want considered or remove some items if they do not apply (like jest) @@ -620,7 +620,7 @@ jobs: # { "name": "Workflow", "value": "${{ github.workflow }}" }, # { "name": "Run", "value": "${{ github.run_id }}" }, # { "name": "Actor", "value": "${{ github.actor }}" }, - # { "name": "Version", "value": "${{ needs.build-deployment-artifacts.outputs.NEXT_VERSION }}" } + # { "name": "Version", "value": "${{ needs.setup-build-workflow.outputs.NEXT_VERSION }}" } # ] secrets: MS_TEAMS_URI: ${{ vars.MS_TEAMS_URI }}