Skip to content

Commit

Permalink
Update artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jordancarlin committed Oct 16, 2024
1 parent d613a1b commit 864fb19
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Installation
on: [workflow_dispatch]
on: [workflow_dispatch, push]
defaults:
run:
shell: bash
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
source setup.sh
regression-wally
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: always()
with:
name: regression-logs-${{ matrix.os }}
Expand All @@ -48,6 +48,11 @@ jobs:
matrix:
os: ["rockylinux:8", "rockylinux:9", "almalinux:8", "almalinux:9"]
steps:
- name: Unique name for Artifacts
id: prep_artifact_name
run: |
name=$(echo -n "${{ matrix.os }}" | sed -e 's/[ \t:\/\\"<>|*?]/-/g' -e 's/--*/-/g')
echo "ARTIFACT_NAME=$name" >> $GITHUB_ENV
- name: Install dependencies
run: |
dnf install -y sudo git
Expand All @@ -72,8 +77,8 @@ jobs:
run: |
source setup.sh
regression-wally
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: always()
with:
name: regression-logs-${{ matrix.os }}
name: regression-logs-${{ env.ARTIFACT_NAME }}
path: ${{ github.workspace }}/sim/verilator/logs/

0 comments on commit 864fb19

Please sign in to comment.