This commit is contained in:
rankun 2020-02-22 16:23:57 +08:00
commit 03f146526f

View file

@ -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