From 9c4e643b8ec32fa1a0c1ea047c148c6a8251caec Mon Sep 17 00:00:00 2001 From: pk910 Date: Thu, 12 Dec 2024 14:33:11 +0100 Subject: [PATCH] update workflows to use upload/download artifacts v4 --- .github/workflows/_shared-build.yaml | 30 ++++++++++++++-------------- .github/workflows/build-master.yml | 2 +- .github/workflows/build-release.yml | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/_shared-build.yaml b/.github/workflows/_shared-build.yaml index d709beab..65752675 100644 --- a/.github/workflows/_shared-build.yaml +++ b/.github/workflows/_shared-build.yaml @@ -72,7 +72,7 @@ jobs: # upload artifacts - name: "Upload artifact: ui-package" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: ./ui-package/dist/* name: ui-package @@ -99,7 +99,7 @@ jobs: # download UI build artifacts - name: Download UI build artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ui-package path: ./ui-package/dist @@ -113,7 +113,7 @@ jobs: # upload artifacts - name: "Upload artifact: explorer_linux_amd64" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: ./bin/* name: explorer_linux_amd64 @@ -146,7 +146,7 @@ jobs: # download UI build artifacts - name: Download UI build artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ui-package path: ./ui-package/dist @@ -160,7 +160,7 @@ jobs: # upload artifacts - name: "Upload artifact: explorer_linux_arm64" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: ./bin/* name: explorer_linux_arm64 @@ -187,7 +187,7 @@ jobs: # download UI build artifacts - name: Download UI build artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ui-package path: ./ui-package/dist @@ -201,7 +201,7 @@ jobs: # upload artifacts - name: "Upload artifact: explorer_windows_amd64" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: ./bin/* name: explorer_windows_amd64 @@ -228,7 +228,7 @@ jobs: # download UI build artifacts - name: Download UI build artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ui-package path: ./ui-package/dist @@ -242,7 +242,7 @@ jobs: # upload artifacts - name: "Upload artifact: explorer_darwin_amd64" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: ./bin/* name: explorer_darwin_amd64 @@ -269,7 +269,7 @@ jobs: # download UI build artifacts - name: Download UI build artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ui-package path: ./ui-package/dist @@ -283,7 +283,7 @@ jobs: # upload artifacts - name: "Upload artifact: explorer_darwin_arm64" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: ./bin/* name: explorer_darwin_arm64 @@ -313,12 +313,12 @@ jobs: # download build artifacts - name: Download UI build artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ui-package path: ./ui-package/dist - name: Download build artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: explorer_linux_amd64 path: ./bin @@ -367,12 +367,12 @@ jobs: # download build artifacts - name: Download UI build artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ui-package path: ./ui-package/dist - name: Download build artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: explorer_linux_arm64 path: ./bin diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml index 20d49e4f..9ea05abb 100644 --- a/.github/workflows/build-master.yml +++ b/.github/workflows/build-master.yml @@ -54,7 +54,7 @@ jobs: steps: # download build artifacts - name: "Download build artifacts" - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 # (re)create snapshot binary release - name: Update snapshot tag & remove previous snapshot release diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index bfd81a4a..84e14974 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -64,7 +64,7 @@ jobs: # download build artifacts - name: "Download build artifacts" - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 # create draft release - name: Create latest release