From 2b8f5133ab4f6fb997ad0e24efd2ba421528288f Mon Sep 17 00:00:00 2001
From: Patrick Bruenn
Date: Fri, 13 Dec 2024 08:43:09 +0100
Subject: [PATCH] GitHub: try to fix upload in GitHub actions
GitHub deprecated [1] artifact up- and download actions and dependabot
tries to be smart[2], but doesn't read GitHubs own migration guide, which
states clearly that you have to update both up- and download to v4...
[1] https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/
[2] https://github.com/Beckhoff/ADS/pull/233/commits/caadeb69a71a19cd5bf28d1773f3c50f41cc7371
Signed-off-by: Patrick Bruenn
---
.github/workflows/build.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4a0563fe..d167e3a5 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -11,7 +11,7 @@ jobs:
run: meson build && ninja -C build
- name: compile example
run: meson example/build example && ninja -C example/build
- - uses: actions/upload-artifact@v2
+ - uses: actions/upload-artifact@v4
with:
name: ubuntu-meson
path: |
@@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- name: compile library
run: cmake -S . -B build && cmake --build build
- - uses: actions/upload-artifact@v2
+ - uses: actions/upload-artifact@v4
with:
name: ubuntu-cmake
path: |
@@ -36,12 +36,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Download artifact ubuntu-meson
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: ubuntu-meson
path: ./build-ubuntu-meson
- name: Download artifact ubuntu-cmake
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: ubuntu-cmake
path: ./build-ubuntu-cmake