chore: update upload-artifact v4

This commit is contained in:
barry 2024-12-06 23:51:41 +08:00
commit 9e613986bf
3 changed files with 4 additions and 4 deletions

View file

@ -65,7 +65,7 @@ jobs:
mv ci/build/QtScrcpy.app ci/build/${{ env.publish_name }}.app mv ci/build/QtScrcpy.app ci/build/${{ env.publish_name }}.app
mv ci/build/QtScrcpy.dmg ci/build/${{ env.publish_name }}.dmg mv ci/build/QtScrcpy.dmg ci/build/${{ env.publish_name }}.dmg
echo "::set-output name=package-name::${{ env.publish_name }}" echo "::set-output name=package-name::${{ env.publish_name }}"
- uses: actions/upload-artifact@v1 - uses: actions/upload-artifact@v4
with: with:
name: ${{ steps.package.outputs.package-name }}.zip name: ${{ steps.package.outputs.package-name }}.zip
path: ci/build/${{ steps.package.outputs.package-name }}.dmg path: ci/build/${{ steps.package.outputs.package-name }}.dmg

View file

@ -50,7 +50,7 @@ jobs:
run: | run: |
ci/linux/build_for_linux.sh "RelWithDebInfo" ci/linux/build_for_linux.sh "RelWithDebInfo"
- name: Upload RelWithDebInfo - name: Upload RelWithDebInfo
uses: actions/upload-artifact@v3.1.0 uses: actions/upload-artifact@v4
with: with:
name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}-RelWithDebInfo name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}-RelWithDebInfo
path: output/x64/RelWithDebInfo/* path: output/x64/RelWithDebInfo/*
@ -60,7 +60,7 @@ jobs:
run: | run: |
ci/linux/build_for_linux.sh "Release" ci/linux/build_for_linux.sh "Release"
- name: Upload Release - name: Upload Release
uses: actions/upload-artifact@v3.1.0 uses: actions/upload-artifact@v4
with: with:
name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}-Release name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}-Release
path: output/x64/Release/* path: output/x64/Release/*

View file

@ -100,7 +100,7 @@ jobs:
echo "::set-output name=package-name::${{ env.publish_name }}" echo "::set-output name=package-name::${{ env.publish_name }}"
# 上传artifacts # 上传artifacts
# https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-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: with:
name: ${{ steps.package.outputs.package-name }}.zip name: ${{ steps.package.outputs.package-name }}.zip
path: ci\build\${{ steps.package.outputs.package-name }} path: ci\build\${{ steps.package.outputs.package-name }}