misc,tests: Revert "Attempt fix daily downloads (#1369)"

This reverts commit 97f6f3c4da.

Change-Id: I406c0c3d5429266da5ca037999247e21f1859ce5
This commit is contained in:
Harshil Patel
2024-07-25 10:52:52 -07:00
parent bb2fd84111
commit 99aa8307b6

View File

@@ -89,18 +89,12 @@ jobs:
- name: Clean runner
run: rm -rf ./* || true rm -rf ./.??* || true rm -rf ~/.cache || true
- uses: actions/checkout@v4
# Determine the build targets for the test.
- working-directory: ${{ github.workspace }}/tests
id: artifact-targets
run: |
echo "targets=$(/main.py list --build-targets -q --length=long gem5/${{ matrix.test-type }} | rev | cut -d / -f 2 | rev | while read x; do echo "${ needs.name-artifacts.outputs.build-name }}-${x}"; done)" >>$GITHUB_OUTPUT
# Download the build artifacts for the test.
# 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
with:
pattern: |
${{ steps.artifact-targets.outputs.targets }}
pattern: ${{needs.name-artifacts.outputs.build-name}}*
merge-multiple: true
# The upload/download GitHub actions do not preserve the executable
# bit of the files. We need to set the executable bit for the