修正mac
This commit is contained in:
parent
d6d142c35f
commit
7c7eeec553
12
.github/workflows/debug.yml
vendored
12
.github/workflows/debug.yml
vendored
@ -76,8 +76,7 @@ jobs:
|
|||||||
- name: 安装目标平台 sharp
|
- name: 安装目标平台 sharp
|
||||||
if: matrix.arch == 'x64'
|
if: matrix.arch == 'x64'
|
||||||
run: |
|
run: |
|
||||||
yarn add --ignore-scripts @img/sharp-darwin-x64
|
npm install --no-save --ignore-scripts --force @img/sharp-darwin-x64
|
||||||
ls node_modules/@img/
|
|
||||||
|
|
||||||
- name: 打包 macOS 安装程序
|
- name: 打包 macOS 安装程序
|
||||||
run: yarn dist:mac --${{ matrix.arch }}
|
run: yarn dist:mac --${{ matrix.arch }}
|
||||||
@ -119,6 +118,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
npm_config_arch: ${{ matrix.arch }}
|
npm_config_arch: ${{ matrix.arch }}
|
||||||
|
|
||||||
|
- name: 安装目标平台 sharp
|
||||||
|
if: matrix.arch == 'arm64'
|
||||||
|
run: |
|
||||||
|
npm install --no-save --ignore-scripts --force @img/sharp-linux-arm64
|
||||||
|
|
||||||
- name: 打包 Linux 安装程序
|
- name: 打包 Linux 安装程序
|
||||||
run: yarn dist:linux --${{ matrix.arch }}
|
run: yarn dist:linux --${{ matrix.arch }}
|
||||||
env:
|
env:
|
||||||
@ -142,10 +146,10 @@ jobs:
|
|||||||
- name: 输出构建结果
|
- name: 输出构建结果
|
||||||
run: |
|
run: |
|
||||||
echo "===== 构建测试完成 ====="
|
echo "===== 构建测试完成 ====="
|
||||||
echo "Windows x64: ${{ needs.build-Windows.result }}"
|
echo "Windows: ${{ needs.build-Windows.result }}"
|
||||||
echo "Windows arm64: ${{ needs.build-Windows.result }}"
|
|
||||||
echo "macOS Apple Silicon: ${{ needs.build-macOS.result }}"
|
echo "macOS Apple Silicon: ${{ needs.build-macOS.result }}"
|
||||||
echo "macOS Intel: ${{ needs.build-macOS.result }}"
|
echo "macOS Intel: ${{ needs.build-macOS.result }}"
|
||||||
echo "Linux x64: ${{ needs.build-Linux.result }}"
|
echo "Linux x64: ${{ needs.build-Linux.result }}"
|
||||||
|
echo "Linux arm64: ${{ needs.build-Linux.result }}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "构建产物将保留 7 天,可在 Actions 页面下载。"
|
echo "构建产物将保留 7 天,可在 Actions 页面下载。"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user