action:macos M1

This commit is contained in:
xiaoyifang 2022-02-26 23:35:44 +08:00
parent d83e33ca48
commit 12e78edf74

View file

@ -57,15 +57,15 @@ jobs:
id: githash id: githash
run: | run: |
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- uses: Klemensas/action-autotag@stable # - uses: Klemensas/action-autotag@stable
id: autotag # id: autotag
with: # with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" # GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
tag_prefix: "v" # tag_prefix: "v"
tag_suffix: "-${{ steps.githash.outputs.sha_short }}" # tag_suffix: "-${{ steps.githash.outputs.sha_short }}"
- name: build macos - name: build macos
run: | run: |
qmake CONFIG+=release CONFIG+=zim_support CONFIG+=chinese_conversion_support -device-option QMAKE_APPLE_DEVICE_ARCHS=arm64 qmake CONFIG+=release CONFIG+=zim_support CONFIG+=chinese_conversion_support QMAKE_APPLE_DEVICE_ARCHS=arm64
make make
# 打包 # 打包
- name: package - name: package