mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-09 17:08:48 +00:00
1
This commit is contained in:
parent
6263f8a0fd
commit
9494ae267d
1 changed files with 2 additions and 3 deletions
5
.github/workflows/macos.yml
vendored
5
.github/workflows/macos.yml
vendored
|
@ -52,13 +52,12 @@ jobs:
|
||||||
- name: Package
|
- name: Package
|
||||||
if: startsWith(github.event.ref, 'refs/tags/')
|
if: startsWith(github.event.ref, 'refs/tags/')
|
||||||
run: |
|
run: |
|
||||||
# 组拼名称
|
|
||||||
[string]$tag = ${env:ref}.Substring(${env:ref}.LastIndexOf('/') + 1)
|
[string]$tag = ${env:ref}.Substring(${env:ref}.LastIndexOf('/') + 1)
|
||||||
[string]$name = 'QtScrcpy-mac-x64-' + ${tag} + '.zip'
|
[string]$name = 'QtScrcpy-mac-x64-' + ${tag} + '.zip'
|
||||||
# 打包
|
# 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
|
||||||
# 压缩zip
|
# package zip
|
||||||
zip -r $name ../build/QtScrcpy.app
|
zip -r $name ../build/QtScrcpy.app
|
||||||
# 记录环境变量packageName给后续step
|
# 记录环境变量packageName给后续step
|
||||||
echo "::set-env name=packageName::$name"
|
echo "::set-env name=packageName::$name"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue