misc: v4.0.0 -> v4 for actions/download-artifact

This was fixed to v4.0.0 under the assumption the flaky nature or the
daily-tests.yaml workflow was due to a later, minor v4 version causing
issue. This did not work. Ergo this patch reverts back to using the
latest v4 version.

Change-Id: I72b8811022268f34309de193445987dbe0085951
This commit is contained in:
Bobby R. Bruce
2024-07-01 15:08:19 -07:00
parent 801b86e860
commit 8d88a37ec9

View File

@@ -54,7 +54,7 @@ jobs:
run: scons setconfig build/${{ matrix.image }} ${{ matrix.setconfig-option }}
- name: Build gem5
run: scons build/${{ matrix.image }}/gem5.opt -j $(nproc)
- uses: actions/upload-artifact@v4.0.0
- uses: actions/upload-artifact@v4
with:
name: ${{ needs.name-artifacts.outputs.build-name }}${{ matrix.image }}
path: '*build/${{ matrix.image }}/gem5.opt'
@@ -92,7 +92,7 @@ jobs:
# download all artifacts for each test. Thoguh this is inelegant,
# it's simpler than figuring otu which long tests requires which
# binary.
- uses: actions/download-artifact@v4.0.0
- uses: actions/download-artifact@v4
with:
pattern: ${{needs.name-artifacts.outputs.build-name}}*
merge-multiple: true
@@ -106,7 +106,7 @@ jobs:
run: ./main.py run gem5/${{ matrix.test-type }} --length=long --skip-build -vv -t $(nproc)
- name: upload results
if: success() || failure()
uses: actions/upload-artifact@v4.0.0
uses: actions/upload-artifact@v4
env:
MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}}
with:
@@ -131,7 +131,7 @@ jobs:
- name: Clean runner
run: rm -rf ./* || true rm -rf ./.??* || true rm -rf ~/.cache || true
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4.0.0
- uses: actions/download-artifact@v4
with:
name: ${{needs.name-artifacts.outputs.build-name}}ALL
- run: chmod u+x build/ALL/gem5.opt
@@ -141,7 +141,7 @@ jobs:
--skip-build -vv
- name: upload results
if: success() || failure()
uses: actions/upload-artifact@v4.0.0
uses: actions/upload-artifact@v4
env:
MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}}
with: