From 26a1d2ff0b6d49cf44ad1863ad17ae63f32f22da Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Tue, 11 Jun 2024 15:42:53 -0700 Subject: [PATCH] misc,tests: Update daily test artifact actions to v4.0.0 Change-Id: I711fa36639e925ce958e0484a31ee6a4dde87dbe --- .github/workflows/daily-tests.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/daily-tests.yaml b/.github/workflows/daily-tests.yaml index cf39474401..102ef0ca71 100644 --- a/.github/workflows/daily-tests.yaml +++ b/.github/workflows/daily-tests.yaml @@ -61,7 +61,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 + - uses: actions/upload-artifact@v4.0.0 with: name: ${{ needs.name-artifacts.outputs.build-name }}${{ matrix.image }} path: '*build/${{ matrix.image }}/gem5.opt' @@ -78,7 +78,7 @@ jobs: needs: [build-gem5, name-artifacts] steps: - name: Merge gem5 build artifacts - uses: actions/upload-artifact/merge@v4 + uses: actions/upload-artifact/merge@v4.0.0 with: name: ${{needs.name-artifacts.outputs.build-name}} pattern: ${{needs.name-artifacts.outputs.build-name}}* @@ -125,7 +125,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 + - uses: actions/download-artifact@v4.0.0 with: name: ${{needs.name-artifacts.outputs.build-name}} # The upload/download GitHub actions do not preserve the executable @@ -138,7 +138,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 + uses: actions/upload-artifact@v4.0.0 env: MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}} with: @@ -167,7 +167,7 @@ jobs: # Scheduled workflows run on the default branch by default. We # therefore need to explicitly checkout the develop branch. ref: develop - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v4.0.0 with: name: ${{needs.name-artifacts.outputs.build-name}}ALL - run: chmod u+x build/ALL/gem5.opt @@ -177,7 +177,7 @@ jobs: --skip-build -vv - name: upload results if: success() || failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v4.0.0 env: MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}} with: