mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +00:00
action:macos M1
This commit is contained in:
parent
d83e33ca48
commit
12e78edf74
14
.github/workflows/macos copy.yml
vendored
14
.github/workflows/macos copy.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue