Skip to content

Commit

Permalink
Bump actions/upload-artifact from 3 to 4
Browse files Browse the repository at this point in the history
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and RMcVelia committed Mar 22, 2024
1 parent 166f061 commit c4144e9
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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 }}
path: ${{ github.workspace }}/out

selenium_cucumber_tests:
Expand Down Expand Up @@ -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 }}
path: ${{ github.workspace }}/out

sonarcloud:
Expand All @@ -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/

Expand Down

0 comments on commit c4144e9

Please sign in to comment.