Skip to content

Commit 2b8f513

Browse files
committed
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] caadeb6 Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
1 parent ca7602b commit 2b8f513

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
run: meson build && ninja -C build
1212
- name: compile example
1313
run: meson example/build example && ninja -C example/build
14-
- uses: actions/upload-artifact@v2
14+
- uses: actions/upload-artifact@v4
1515
with:
1616
name: ubuntu-meson
1717
path: |
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v2
2626
- name: compile library
2727
run: cmake -S . -B build && cmake --build build
28-
- uses: actions/upload-artifact@v2
28+
- uses: actions/upload-artifact@v4
2929
with:
3030
name: ubuntu-cmake
3131
path: |
@@ -36,12 +36,12 @@ jobs:
3636
steps:
3737
- uses: actions/checkout@v2
3838
- name: Download artifact ubuntu-meson
39-
uses: actions/download-artifact@v3
39+
uses: actions/download-artifact@v4
4040
with:
4141
name: ubuntu-meson
4242
path: ./build-ubuntu-meson
4343
- name: Download artifact ubuntu-cmake
44-
uses: actions/download-artifact@v3
44+
uses: actions/download-artifact@v4
4545
with:
4646
name: ubuntu-cmake
4747
path: ./build-ubuntu-cmake

0 commit comments

Comments
 (0)