From 9e613986bf6e48dbee45c6da24b081d9c77b5308 Mon Sep 17 00:00:00 2001 From: barry <870709867@qq.com> Date: Fri, 6 Dec 2024 23:51:41 +0800 Subject: [PATCH] chore: update upload-artifact v4 --- .github/workflows/macos.yml | 2 +- .github/workflows/ubuntu.yml | 4 ++-- .github/workflows/windows.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 5fb9788b6..a2fc36c8e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -65,7 +65,7 @@ jobs: mv ci/build/QtScrcpy.app ci/build/${{ env.publish_name }}.app mv ci/build/QtScrcpy.dmg ci/build/${{ env.publish_name }}.dmg echo "::set-output name=package-name::${{ env.publish_name }}" - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: ${{ steps.package.outputs.package-name }}.zip path: ci/build/${{ steps.package.outputs.package-name }}.dmg diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 48a3dc99c..3baa43afd 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -50,7 +50,7 @@ jobs: run: | ci/linux/build_for_linux.sh "RelWithDebInfo" - name: Upload RelWithDebInfo - uses: actions/upload-artifact@v3.1.0 + uses: actions/upload-artifact@v4 with: name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}-RelWithDebInfo path: output/x64/RelWithDebInfo/* @@ -60,7 +60,7 @@ jobs: run: | ci/linux/build_for_linux.sh "Release" - name: Upload Release - uses: actions/upload-artifact@v3.1.0 + uses: actions/upload-artifact@v4 with: name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}-Release path: output/x64/Release/* diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 89c0fa643..4d1b3a3eb 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -100,7 +100,7 @@ jobs: echo "::set-output name=package-name::${{ env.publish_name }}" # 上传artifacts # https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: ${{ steps.package.outputs.package-name }}.zip path: ci\build\${{ steps.package.outputs.package-name }}