mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 06:08:39 +00:00
1
This commit is contained in:
parent
ffae7e5090
commit
ace98b12e0
1 changed files with 4 additions and 3 deletions
7
.github/workflows/macos.yml
vendored
7
.github/workflows/macos.yml
vendored
|
@ -51,6 +51,7 @@ jobs:
|
||||||
# tag 打包
|
# tag 打包
|
||||||
- name: Package
|
- name: Package
|
||||||
if: startsWith(github.event.ref, 'refs/tags/')
|
if: startsWith(github.event.ref, 'refs/tags/')
|
||||||
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
ref: ${{ github.event.ref }}
|
ref: ${{ github.event.ref }}
|
||||||
run: |
|
run: |
|
||||||
|
@ -59,8 +60,8 @@ jobs:
|
||||||
# package
|
# package
|
||||||
export ENV_QT_CLANG=$(pwd)/${{env.Qt5_Dir}}
|
export ENV_QT_CLANG=$(pwd)/${{env.Qt5_Dir}}
|
||||||
ci/mac/publish_for_mac.sh ../build
|
ci/mac/publish_for_mac.sh ../build
|
||||||
# package zip
|
# 打包zip
|
||||||
zip -r $name ../build/QtScrcpy.app
|
Compress-Archive -Path ci\build\QtScrcpy.app ci\build\$name
|
||||||
# 记录环境变量packageName给后续step
|
# 记录环境变量packageName给后续step
|
||||||
echo "::set-env name=packageName::$name"
|
echo "::set-env name=packageName::$name"
|
||||||
# 查询Release
|
# 查询Release
|
||||||
|
@ -112,6 +113,6 @@ jobs:
|
||||||
uses: actions/upload-release-asset@v1.0.1
|
uses: actions/upload-release-asset@v1.0.1
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ env.uploadUrl }}
|
upload_url: ${{ env.uploadUrl }}
|
||||||
asset_path: ci\build\${{ env.packageName }}
|
asset_path: ci/build/${{ env.packageName }}
|
||||||
asset_name: ${{ env.packageName }}
|
asset_name: ${{ env.packageName }}
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
Loading…
Add table
Add a link
Reference in a new issue