From 899e5f1cefa418c45da9d38668f1cf4622cd34fe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 08:03:18 +0000 Subject: [PATCH] Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b569d2c44..11fb405500 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,13 @@ permissions: packages: write pull-requests: write +env: + code-coverage-artifact-name: code_coverage_${{github.run_number}}_${{github.run_attempt}} + unit-tests-artifact-name: unit_tests_${{github.run_number}}_${{github.run_attempt}} + rubocop-artifact-name: rubocop_results_${{github.run_number}}_${{github.run_attempt}} + cucumber-tests-artifact-name: cucumber_tests_${{github.run_number}}_${{github.run_attempt}} + selenium-cucumber-tests-artifact-name: selenium_cucumber_tests_${{github.run_number}}_${{github.run_attempt}} + jobs: build: @@ -125,9 +132,9 @@ jobs: - name: Keep Rubocop output if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: Rubocop_results + name: ${{ env.rubocop-artifact-name }} path: ${{ github.workspace }}/out/rubocop-result.json - name: Run Specs @@ -137,16 +144,16 @@ jobs: - name: Keep Unit Tests Results if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: unit_tests + name: ${{ env.unit-tests-artifact-name }} path: ${{ github.workspace }}/out/test-report.xml - name: Keep Code Coverage Report if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: Code_Coverage + name: ${{ env.code-coverage-artifact-name }} path: ${{ github.workspace }}/coverage/coverage.json security_tests: @@ -235,9 +242,9 @@ jobs: - name: Keep Unit Tests Results if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: cucumber_tests + name: ${{ env.cucumber-tests-artifact-name }}_${{ matrix.ci_node_index }} path: ${{ github.workspace }}/out selenium_cucumber_tests: @@ -284,9 +291,9 @@ jobs: - name: Keep Unit Tests Results if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: selenium_cucumber_tests + name: ${{ env.selenium-cucumber-tests-artifact-name }}_${{ matrix.ci_node_index }} path: ${{ github.workspace }}/out sonarcloud: @@ -307,7 +314,7 @@ jobs: creds: ${{ secrets.GSE_REPO_AZ_CREDENTIALS }} - name: Download Test Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ${{ github.workspace }}/out/