mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Update artifact upload
This commit is contained in:
parent
d613a1b2f9
commit
864fb199f0
13
.github/workflows/install.yml
vendored
13
.github/workflows/install.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: Installation
|
name: Installation
|
||||||
on: [workflow_dispatch]
|
on: [workflow_dispatch, push]
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -31,7 +31,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
source setup.sh
|
source setup.sh
|
||||||
regression-wally
|
regression-wally
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: regression-logs-${{ matrix.os }}
|
name: regression-logs-${{ matrix.os }}
|
||||||
@ -48,6 +48,11 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: ["rockylinux:8", "rockylinux:9", "almalinux:8", "almalinux:9"]
|
os: ["rockylinux:8", "rockylinux:9", "almalinux:8", "almalinux:9"]
|
||||||
steps:
|
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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
dnf install -y sudo git
|
dnf install -y sudo git
|
||||||
@ -72,8 +77,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
source setup.sh
|
source setup.sh
|
||||||
regression-wally
|
regression-wally
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: regression-logs-${{ matrix.os }}
|
name: regression-logs-${{ env.ARTIFACT_NAME }}
|
||||||
path: ${{ github.workspace }}/sim/verilator/logs/
|
path: ${{ github.workspace }}/sim/verilator/logs/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user