Skip to content

Commit

Permalink
Update upload-artifact to v4
Browse files Browse the repository at this point in the history
ChangeLog:

	* .github/workflows/ccpp.yml: Update actions/upload-artifact
	from v3 to v4, handle any artifact name conflicts.
	* .github/workflows/ccpp32alpine.yml: Likewise.

Signed-off-by: Owen Avery <[email protected]>
  • Loading branch information
powerboat9 authored and P-E-P committed Jan 24, 2025
1 parent 0a12536 commit dd750c9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
cd gccrs-build; \
make check-rust RUNTESTFLAGS="--target_board=unix\{-m64}"
- name: Archive check-rust results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: check-rust-logs
name: check-rust-logs-ubuntu-64
path: |
gccrs-build/gcc/testsuite/rust/
- name: Check regressions
Expand Down Expand Up @@ -165,9 +165,9 @@ jobs:
cd gccrs-build; \
make check-rust RUNTESTFLAGS="--target_board=unix\{-m64}"
- name: Archive check-rust results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: check-rust-logs
name: check-rust-logs-ubuntu-64-glibcxx
path: |
gccrs-build/gcc/testsuite/rust/
- name: Check regressions
Expand Down Expand Up @@ -249,9 +249,9 @@ jobs:
cd gccrs-build; \
make check-rust RUNTESTFLAGS="--target_board=unix\{-m32}"
- name: Archive check-rust results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: check-rust-logs
name: check-rust-logs-ubuntu-32
path: |
gccrs-build/gcc/testsuite/rust/
- name: Check regressions
Expand Down Expand Up @@ -350,7 +350,7 @@ jobs:
make check-rust RUNTESTFLAGS="--target_board=unix\{-m32,-m64}"
- name: Archive check-rust results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: check-rust-logs-5
path: |
Expand Down Expand Up @@ -410,7 +410,7 @@ jobs:
# cd gccrs-build; \
# make check-rust
# - name: Archive check-rust results
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: check-rust-logs-macos
# path: |
Expand Down Expand Up @@ -496,9 +496,9 @@ jobs:
ASAN_OPTIONS=detect_leaks=0:use_odr_indicator=1 \
make check-rust RUNTESTFLAGS="--target_board=unix\{-m64}"
- name: Archive check-rust results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: check-rust-logs
name: check-rust-logs-asan
path: |
gccrs-build/gcc/testsuite/rust/
- name: Check regressions
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ccpp32alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
cat log_warnings
shell: alpine.sh {0}
- name: Archive warnings logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: warnings
path: |
Expand All @@ -108,7 +108,7 @@ jobs:
shell: alpine.sh {0}

- name: Archive check-rust results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: check-rust-logs
path: |
Expand Down

0 comments on commit dd750c9

Please sign in to comment.