From 7a6ed773c427f90b5646d3231b20a732eb86bf8d Mon Sep 17 00:00:00 2001 From: zvecr Date: Tue, 2 Jan 2024 04:08:33 +0000 Subject: [PATCH] Update download/upload actions to v4 --- .github/workflows/build.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 82fd9c6..0d48719 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,9 +37,9 @@ jobs: run: | docker export $(docker create qmkfm/qmk_distro_wsl:latest) | gzip > .build/install.tar.gz - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: artifacts + name: artifacts-rootfs path: .build/* @@ -58,9 +58,9 @@ jobs: run: | sudo wget -P .build/ https://raw.githubusercontent.com/qmk/qmk_firmware/master/util/drivers.txt - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: artifacts + name: artifacts-drivers path: .build/* launcher: @@ -78,9 +78,9 @@ jobs: run: | sudo mv .build/wsldl.exe .build/QMK.exe - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: artifacts + name: artifacts-launcher path: .build/* build: @@ -94,10 +94,11 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: artifacts path: .build + pattern: artifacts-* + merge-multiple: true - name: Create Installer shell: 'bash {0}' @@ -105,14 +106,14 @@ jobs: iscc installer/install.iss //DMyAppVersion=${VERSION:-0.0.0} sha256sum .build/QMK_WSL.exe > .build/QMK_WSL.exe.sha256 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: installer path: .build/QMK_WSL.* - uses: geekyeggo/delete-artifact@v4 with: - name: artifacts + name: artifacts-* test: runs-on: windows-latest @@ -120,7 +121,7 @@ jobs: needs: [build] steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: installer @@ -141,7 +142,7 @@ jobs: if: github.event.release.tag_name steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: installer path: .build @@ -162,7 +163,7 @@ jobs: if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: installer path: .build