From 45f6120664d62190996f9e67e2c895637818c848 Mon Sep 17 00:00:00 2001 From: Sheen Tian Date: Sat, 1 Feb 2025 12:03:23 +0800 Subject: [PATCH] feat: update github action --- .github/workflows/build-linux-x86_64.yml | 4 ++-- .github/workflows/build-macos-x86_64.yml | 4 ++-- .github/workflows/build-windows-x86_64.yml | 4 ++-- .github/workflows/create-release.yml | 14 +++++++------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-linux-x86_64.yml b/.github/workflows/build-linux-x86_64.yml index 302b121..0c40ffc 100644 --- a/.github/workflows/build-linux-x86_64.yml +++ b/.github/workflows/build-linux-x86_64.yml @@ -63,7 +63,7 @@ jobs: - name: Create SDK artifact if: github.event_name != 'pull_request' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 # Upload artifact with: name: QCefView.linux.x86_64 @@ -71,7 +71,7 @@ jobs: - name: Create Demo artifact if: github.event_name != 'pull_request' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 # Upload artifact with: name: QCefViewTest.linux.x86_64 diff --git a/.github/workflows/build-macos-x86_64.yml b/.github/workflows/build-macos-x86_64.yml index 816c17c..a8b2360 100644 --- a/.github/workflows/build-macos-x86_64.yml +++ b/.github/workflows/build-macos-x86_64.yml @@ -72,7 +72,7 @@ jobs: - name: Create SDK artifact if: github.event_name != 'pull_request' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 # Upload artifact with: name: QCefView.macos.x86_64 @@ -80,7 +80,7 @@ jobs: - name: Create Demo artifact if: github.event_name != 'pull_request' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 # Upload artifact with: name: QCefViewTest.macos.x86_64 diff --git a/.github/workflows/build-windows-x86_64.yml b/.github/workflows/build-windows-x86_64.yml index 76dc7f6..c64345c 100644 --- a/.github/workflows/build-windows-x86_64.yml +++ b/.github/workflows/build-windows-x86_64.yml @@ -63,7 +63,7 @@ jobs: - name: Create SDK artifact if: github.event_name != 'pull_request' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 # Upload artifact with: name: QCefView.windows.x86_64 @@ -71,7 +71,7 @@ jobs: - name: Create Demo artifact if: github.event_name != 'pull_request' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 # Upload artifact with: name: QCefViewTest.windows.x86_64 diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 8aeae59..7c677c8 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -47,13 +47,13 @@ jobs: run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - name: Create SDK artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: QCefView.windows.x86_64 path: ${{github.workspace}}/out/install/QCefView - name: Create Demo artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: QCefViewTest.windows.x86_64 path: ${{github.workspace}}/out/install/QCefViewTest @@ -93,14 +93,14 @@ jobs: run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - name: Create SDK artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 # Upload artifact with: name: QCefView.macos.x86_64 path: ${{github.workspace}}/out/install/QCefView - name: Create Demo artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 # Upload artifact with: name: QCefViewTest.macos.x86_64 @@ -137,14 +137,14 @@ jobs: run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - name: Create SDK artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 # Upload artifact with: name: QCefView.linux.x86_64 path: ${{github.workspace}}/out/install/QCefView - name: Create Demo artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 # Upload artifact with: name: QCefViewTest.linux.x86_64 @@ -156,7 +156,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download all artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: ${{github.workspace}}/artifacts