summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2023-12-21 07:14:10 -0500
committerGitHub <noreply@github.com>2023-12-21 07:14:10 -0500
commitd32b2760a0f1014df0828b6f5051995819e7eec0 (patch)
treed5996becc68c82cb9b753c701cc0996397fc5975
parent95d8a5ffd9dee9a6288550913c8f04b3d591a683 (diff)
Update artifact-handling actions to latest version. (#16639)
Done independently of dependabot because this requires special handling to make it work properly.
-rw-r--r--.github/workflows/build.yml33
-rw-r--r--.github/workflows/packaging.yml2
2 files changed, 18 insertions, 17 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 80d64ddb5d..b20b67d4d7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -113,7 +113,7 @@ jobs:
- name: Store
id: store
if: needs.file-check.outputs.run == 'true'
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: dist-tarball
path: artifacts/*.tar.gz
@@ -202,9 +202,9 @@ jobs:
- name: Store
id: store
if: needs.file-check.outputs.run == 'true'
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
- name: static-archive
+ name: static-archive-${{ matrix.arch }}
path: artifacts/*.gz.run
retention-days: 30
- name: Failure Notification
@@ -345,7 +345,7 @@ jobs:
tags: test:${{ matrix.artifact_key }}
- name: Upload image artifact
id: upload
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact_key }}-test-env
path: /tmp/image.tar
@@ -401,7 +401,7 @@ jobs:
- name: Fetch test environment
id: fetch
if: needs.file-check.outputs.run == 'true'
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: ${{ matrix.artifact_key }}-test-env
- name: Load test environment
@@ -484,7 +484,7 @@ jobs:
- name: Fetch dist tarball artifacts
id: fetch-tarball
if: needs.file-check.outputs.run == 'true'
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: dist-tarball
path: dist-tarball
@@ -503,7 +503,7 @@ jobs:
- name: Fetch test environment
id: fetch-test-environment
if: needs.file-check.outputs.run == 'true'
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: ${{ matrix.artifact_key }}-test-env
- name: Load test environment
@@ -565,17 +565,18 @@ jobs:
- name: Retrieve Dist Tarball
id: fetch-dist
if: needs.file-check.outputs.run == 'true'
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: dist-tarball
path: dist-tarball
- name: Retrieve Static Build Artifacts
id: fetch-static
if: needs.file-check.outputs.run == 'true'
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
- name: static-archive
+ pattern: static-archive-*
path: static-archive
+ merge-multiple: true
- name: Prepare Artifacts
id: consolidate
if: needs.file-check.outputs.run == 'true'
@@ -591,7 +592,7 @@ jobs:
- name: Store Artifacts
id: store
if: needs.file-check.outputs.run == 'true'
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: final-artifacts
path: artifacts/*
@@ -647,7 +648,7 @@ jobs:
- name: Fetch artifacts
id: fetch
if: needs.file-check.outputs.run == 'true'
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: final-artifacts
path: artifacts
@@ -711,7 +712,7 @@ jobs:
- name: Fetch artifacts
id: fetch-artifacts
if: needs.file-check.outputs.run == 'true'
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: final-artifacts
path: artifacts
@@ -760,7 +761,7 @@ jobs:
steps:
- name: Retrieve Artifacts
id: fetch
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: final-artifacts
path: final-artifacts
@@ -825,7 +826,7 @@ jobs:
token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
- name: Retrieve Artifacts
id: fetch
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: final-artifacts
path: final-artifacts
@@ -939,7 +940,7 @@ jobs:
uses: actions/checkout@v4
- name: Retrieve Artifacts
id: fetch
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
name: final-artifacts
path: final-artifacts
diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml
index 015de5adb9..6e00f9fbe5 100644
--- a/.github/workflows/packaging.yml
+++ b/.github/workflows/packaging.yml
@@ -238,7 +238,7 @@ jobs:
id: artifacts
if: needs.file-check.outputs.run == 'true'
continue-on-error: true
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: ${{ matrix.distro }}-${{ matrix.version }}-${{ matrix.arch }}-packages
path: ${{ github.workspace }}/artifacts/*