From 89370d7a1c3c01413c923c207375d27d00944b61 Mon Sep 17 00:00:00 2001 From: Integral Date: Mon, 2 Dec 2024 21:24:59 +0800 Subject: [PATCH] ci: update actions/upload-artifact to v4 --- .github/workflows/ci-linux.yml | 2 +- .github/workflows/ci-macos.yml | 2 +- .github/workflows/ci-win.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index 7a9516b5f..3ffc73cd0 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -135,7 +135,7 @@ jobs: working-directory: ${{runner.workspace}}/build - name: Archive Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: VNote-${{env.VNOTE_VER}}-linux-x64.AppImage path: ${{runner.workspace}}/build/VNote-${{env.VNOTE_VER}}-linux-x64.AppImage diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index c332da7c4..521d2b9f7 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -119,7 +119,7 @@ jobs: if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} - name: Archive Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: VNote-${{env.VNOTE_VER}}-mac-${{matrix.config.arch}} path: ${{runner.workspace}}/build/VNote-${{env.VNOTE_VER}}-mac-${{matrix.config.arch}}.dmg diff --git a/.github/workflows/ci-win.yml b/.github/workflows/ci-win.yml index 5e5486c9e..1d8214d56 100644 --- a/.github/workflows/ci-win.yml +++ b/.github/workflows/ci-win.yml @@ -111,14 +111,14 @@ jobs: working-directory: ${{runner.workspace}}/build - name: Archive Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: VNote-${{env.VNOTE_VER}}-win64${{matrix.config.suffix}} path: ${{runner.workspace}}/build/VNote-${{env.VNOTE_VER}}-win64${{matrix.config.suffix}} - name: Archive Installer if: ${{!startsWith(matrix.config.qt, '5.15')}} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: VNote-${{env.VNOTE_VER}}-win64${{matrix.config.suffix}}.msi path: ${{runner.workspace}}/build/VNote*.msi