From db4be85546ae670c2a8377f5d5779e3abd6fcbfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Ravier?= Date: Fri, 13 Sep 2024 19:28:47 +0200 Subject: [PATCH] github/workflows/tests: Update actions/{upload,download}-artifact to v4 See: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ See: https://github.blog/news-insights/product-news/get-started-with-v4-of-github-actions-artifacts/ Signed-off-by: Colin Walters --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0124574806..97f8eae167 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -53,7 +53,7 @@ jobs: - name: Build run: cd tests/inst && cargo build --verbose --release - name: Upload binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ostree-test path: tests/inst/target/release/ostree-test @@ -91,7 +91,7 @@ jobs: ./configure --with-curl --with-selinux --with-dracut=yesbutnoconf --with-composefs && make -j 4 && make install DESTDIR=$(pwd)/install && tar -c -C install --zstd -f inst.tar.zst . - name: Upload binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: inst.tar.zst path: inst.tar.zst @@ -106,13 +106,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Download install tree - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: inst.tar.zst - name: Install run: tar -C / -xvf inst.tar.zst && rm -f inst.tar.zst - name: Download test binary - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: ostree-test - name: Install