github/workflows/tests: Update actions/{upload,download}-artifact to v4
authorTimothée Ravier <tim@siosm.fr>
Fri, 13 Sep 2024 17:28:47 +0000 (19:28 +0200)
committerColin Walters <walters@verbum.org>
Fri, 13 Sep 2024 18:45:34 +0000 (14:45 -0400)
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 <walters@verbum.org>
.github/workflows/tests.yml

index 0124574806fda2c7f7605240b72d40b789cb27d8..97f8eae167d936d89a3c1835d9b5a979a4404ffc 100644 (file)
@@ -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