mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-13 10:58:49 +00:00
1
This commit is contained in:
parent
8bd2b51bfd
commit
03f146526f
1 changed files with 4 additions and 5 deletions
9
.github/workflows/macos.yml
vendored
9
.github/workflows/macos.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: ../Qt/${{matrix.qt_ver}}/${{matrix.qt_arch}}
|
path: ../Qt/${{matrix.qt_ver}}/${{matrix.qt_arch}}
|
||||||
key: ${{ runner.os }}-Qt/${{matrix.qt_ver}}/${{matrix.qt_arch}}
|
key: ${{ runner.os }}-Qt/${{matrix.qt_ver}}/${{matrix.qt_arch}}
|
||||||
- name: setupQt
|
- name: Setup Qt
|
||||||
if: steps.MacosCacheQt.outputs.cache-hit == 'true'
|
if: steps.MacosCacheQt.outputs.cache-hit == 'true'
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
|
@ -46,14 +46,13 @@ jobs:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- name: Build MacOS
|
- name: Build MacOS
|
||||||
env:
|
env:
|
||||||
ENV_QT_PATH: '/a/Qt/5.12.6'
|
ENV_QT_PATH: '/Users/runner/runners/2.165.2/work/QtScrcpy/Qt/5.12.6'
|
||||||
run: |
|
run: |
|
||||||
ci/mac/build_for_mac.sh release
|
ci/mac/build_for_mac.sh release
|
||||||
# tag 打包
|
# tag 打包
|
||||||
- name: package
|
- name: Package
|
||||||
if: startsWith(github.event.ref, 'refs/tags/')
|
|
||||||
run: |
|
run: |
|
||||||
macdeployqt bin/${targetName}.app -qmldir=. -verbose=1 -dmg
|
ci/mac/publish_for_mac.sh ..\build
|
||||||
# tag 查询github-Release
|
# tag 查询github-Release
|
||||||
- name: queryRelease
|
- name: queryRelease
|
||||||
id: queryReleaseMacos
|
id: queryReleaseMacos
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue