Skip to content

Commit

Permalink
Upgrade artifact actions (#610)
Browse files Browse the repository at this point in the history
* Upgrade artifact actions
* Rename some artifacts to avoid clashes
  • Loading branch information
blapie authored Jan 16, 2025
1 parent 074162c commit d7901d5
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
cmake --install _build-${{ matrix.os }}-${{ matrix.arch }}
- name: Upload build-${{ matrix.os }}-${{ matrix.arch }} artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.os }}-${{ matrix.arch }}
path: |
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
brew install -q cmake ninja gmp mpfr pkg-config openssl@3
- name: Download build-${{ matrix.os }}-${{ matrix.arch }} artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-${{ matrix.os }}-${{ matrix.arch }}

Expand All @@ -133,7 +133,7 @@ jobs:
ctest -j$(sysctl -n hw.logicalcpu)
- name: Upload test-${{ matrix.os }}-${{ matrix.arch }} artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-${{ matrix.os }}-${{ matrix.arch }}
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test-msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
cmake --install _build-msys2-${{ matrix.sys }}-${{ matrix.lto }}
- name: Upload build-msys2-${{ matrix.sys }}-${{ matrix.lto }} artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-msys2-${{ matrix.sys }}-${{ matrix.lto }}
path: |
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
./Coreinfo64.exe -accepteula
- name: Download build-msys2-${{ matrix.sys }}-${{ matrix.lto }} artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-msys2-${{ matrix.sys }}-${{ matrix.lto }}

Expand All @@ -162,7 +162,7 @@ jobs:
ctest -j$(nproc)
- name: Upload test-msys2-${{ matrix.sys }}-${{ matrix.lto }} artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-msys2-${{ matrix.sys }}-${{ matrix.lto }}
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-as-subproject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
./dfttutorial 4
- name: Upload nested artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nested project
path: |
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
./dfttutorial 4
- name: Upload submodule artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: submodule project
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-cross-llvm-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
cmake --install _build-${{ matrix.arch }}-${{ matrix.lto }}
- name: Upload build-${{ matrix.arch }}-${{ matrix.lto }}-llvm-mingw artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.arch }}-${{ matrix.lto }}-llvm-mingw
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
cmake --install _build-native
- name: Upload build-native artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-native
path: |
Expand All @@ -75,7 +75,7 @@ jobs:
cat /proc/cpuinfo
- name: Download build-native artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-native

Expand All @@ -97,7 +97,7 @@ jobs:
./_examples-native/dft
- name: Upload examples-native artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: examples-native
path: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
cmake --install _build-native
- name: Upload build-native-${{ matrix.os }}-${{ matrix.compiler }} artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-native-${{ matrix.os }}-${{ matrix.compiler }}
path: |
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
cat /proc/cpuinfo
- name: Download build-native-${{ matrix.os }}-${{ matrix.compiler }} artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-native-${{ matrix.os }}-${{ matrix.compiler }}

Expand All @@ -150,9 +150,9 @@ jobs:
ctest -j$(nproc)
- name: Upload test-native artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-native
name: test-native-${{ matrix.os }}-${{ matrix.compiler }}
path: |
_build-native/Testing
if: always()
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
if: steps.check-sysroot-cache.outputs.cache-hit != 'true'

- name: Download build-native-ubuntu-24.04-${{ matrix.compiler }} artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-native-ubuntu-24.04-${{ matrix.compiler }}

Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
cmake --install _build-${{ matrix.arch }}
- name: Upload build-${{ matrix.arch }}-${{ matrix.compiler }} artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.arch }}-${{ matrix.compiler }}
path: |
Expand Down Expand Up @@ -338,12 +338,12 @@ jobs:
cat /proc/cpuinfo
- name: Download build-native-ubuntu-24.04-${{ matrix.compiler }} artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-native-ubuntu-24.04-${{ matrix.compiler }}

- name: Download build-${{ matrix.arch }}-${{ matrix.compiler }} artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-${{ matrix.arch }}-${{ matrix.compiler }}

Expand All @@ -362,7 +362,7 @@ jobs:
ctest -j$(nproc)
- name: Upload test-${{ matrix.arch }}-${{ matrix.compiler }}-${{ strategy.job-index }} artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-${{ matrix.arch }}-${{ matrix.compiler }}-${{ strategy.job-index }}
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check_compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
cmake --install _build-${{ matrix.tag }}
- name: Upload build-${{ matrix.tag }} artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.tag }}
path: |
Expand All @@ -79,12 +79,12 @@ jobs:
sudo apt install -y -qq abigail-tools
- name: Download build-${{ env.REF_TAG }} artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-${{ env.REF_TAG }}

- name: Download build-${{ env.TEST_TAG }} artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build-${{ env.TEST_TAG }}

Expand Down

0 comments on commit d7901d5

Please sign in to comment.