From e139f88c0a0bd6033f36ee02268d5eb82141be7a Mon Sep 17 00:00:00 2001 From: hiento09 <136591877+hiento09@users.noreply.github.com> Date: Fri, 13 Sep 2024 13:02:11 +0700 Subject: [PATCH] Upgrade actions/upload-artifact@v2 to actions/upload-artifact@v4 (#3650) Co-authored-by: Hien To --- .github/workflows/jan-electron-build-nightly.yml | 4 ++-- .github/workflows/jan-electron-build.yml | 4 ++-- .github/workflows/jan-electron-linter-and-test.yml | 4 ++-- .github/workflows/template-build-linux-x64.yml | 4 ++-- .github/workflows/template-build-macos-arm64.yml | 4 ++-- .github/workflows/template-build-macos-x64.yml | 4 ++-- .github/workflows/template-build-windows-x64.yml | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/jan-electron-build-nightly.yml b/.github/workflows/jan-electron-build-nightly.yml index d666bdc566..af1a2baa95 100644 --- a/.github/workflows/jan-electron-build-nightly.yml +++ b/.github/workflows/jan-electron-build-nightly.yml @@ -88,12 +88,12 @@ jobs: with: ref: ${{ needs.set-public-provider.outputs.ref }} - name: Download mac-x64 artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: latest-mac-x64 path: ./latest-mac-x64 - name: Download mac-arm artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: latest-mac-arm64 path: ./latest-mac-arm64 diff --git a/.github/workflows/jan-electron-build.yml b/.github/workflows/jan-electron-build.yml index ab90f696f5..095c0ed200 100644 --- a/.github/workflows/jan-electron-build.yml +++ b/.github/workflows/jan-electron-build.yml @@ -79,12 +79,12 @@ jobs: uses: actions/checkout@v3 - name: Download mac-x64 artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: latest-mac-x64 path: ./latest-mac-x64 - name: Download mac-arm artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: latest-mac-arm64 path: ./latest-mac-arm64 diff --git a/.github/workflows/jan-electron-linter-and-test.yml b/.github/workflows/jan-electron-linter-and-test.yml index 0cd4fcb9ca..f441f4cdaa 100644 --- a/.github/workflows/jan-electron-linter-and-test.yml +++ b/.github/workflows/jan-electron-linter-and-test.yml @@ -59,7 +59,7 @@ jobs: run: yarn test:coverage - name: Upload code coverage for ref branch - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ref-lcov.info path: ./coverage/lcov.info @@ -341,7 +341,7 @@ jobs: make clean - name: Download code coverage report from base branch - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ref-lcov.info diff --git a/.github/workflows/template-build-linux-x64.yml b/.github/workflows/template-build-linux-x64.yml index e64b23f402..386a0ee4f6 100644 --- a/.github/workflows/template-build-linux-x64.yml +++ b/.github/workflows/template-build-linux-x64.yml @@ -102,14 +102,14 @@ jobs: - name: Upload Artifact .deb file if: inputs.public_provider != 'github' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: jan-linux-amd64-${{ inputs.new_version }}-deb path: ./electron/dist/*.deb - name: Upload Artifact .AppImage file if: inputs.public_provider != 'github' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: jan-linux-amd64-${{ inputs.new_version }}-AppImage path: ./electron/dist/*.AppImage diff --git a/.github/workflows/template-build-macos-arm64.yml b/.github/workflows/template-build-macos-arm64.yml index 753ad67934..40d40164f2 100644 --- a/.github/workflows/template-build-macos-arm64.yml +++ b/.github/workflows/template-build-macos-arm64.yml @@ -148,13 +148,13 @@ jobs: - name: Upload Artifact if: inputs.public_provider != 'github' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: jan-mac-arm64-${{ inputs.new_version }} path: ./electron/dist/jan-mac-arm64-${{ inputs.new_version }}.dmg - name: Upload Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: latest-mac-arm64 path: ./electron/dist/latest-mac.yml \ No newline at end of file diff --git a/.github/workflows/template-build-macos-x64.yml b/.github/workflows/template-build-macos-x64.yml index 769e0f808a..b7103fd065 100644 --- a/.github/workflows/template-build-macos-x64.yml +++ b/.github/workflows/template-build-macos-x64.yml @@ -148,13 +148,13 @@ jobs: - name: Upload Artifact if: inputs.public_provider != 'github' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: jan-mac-x64-${{ inputs.new_version }} path: ./electron/dist/jan-mac-x64-${{ inputs.new_version }}.dmg - name: Upload Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: latest-mac-x64 path: ./electron/dist/latest-mac.yml \ No newline at end of file diff --git a/.github/workflows/template-build-windows-x64.yml b/.github/workflows/template-build-windows-x64.yml index 491a8f0311..b1110e3160 100644 --- a/.github/workflows/template-build-windows-x64.yml +++ b/.github/workflows/template-build-windows-x64.yml @@ -136,7 +136,7 @@ jobs: - name: Upload Artifact if: inputs.public_provider != 'github' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: jan-win-x64-${{ inputs.new_version }} path: ./electron/dist/*.exe