ci: disable postinstall on macOS build (#4885)
This commit is contained in:
2
.github/actions/build-rust/action.yml
vendored
2
.github/actions/build-rust/action.yml
vendored
@@ -19,6 +19,8 @@ runs:
|
|||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
targets: ${{ inputs.target }}
|
targets: ${{ inputs.target }}
|
||||||
|
env:
|
||||||
|
CARGO_INCREMENTAL: '1'
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|||||||
9
.github/actions/setup-node/action.yml
vendored
9
.github/actions/setup-node/action.yml
vendored
@@ -32,6 +32,10 @@ inputs:
|
|||||||
nmHoistingLimits:
|
nmHoistingLimits:
|
||||||
description: 'Set nmHoistingLimits in .yarnrc.yml'
|
description: 'Set nmHoistingLimits in .yarnrc.yml'
|
||||||
required: false
|
required: false
|
||||||
|
enableScripts:
|
||||||
|
description: 'Set enableScripts in .yarnrc.yml'
|
||||||
|
required: false
|
||||||
|
default: 'true'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
@@ -54,6 +58,11 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: yarn config set nmHoistingLimits ${{ inputs.nmHoistingLimits }}
|
run: yarn config set nmHoistingLimits ${{ inputs.nmHoistingLimits }}
|
||||||
|
|
||||||
|
- name: Set enableScripts
|
||||||
|
if: ${{ inputs.enableScripts == 'false' }}
|
||||||
|
shell: bash
|
||||||
|
run: yarn config set enableScripts false
|
||||||
|
|
||||||
- name: yarn install
|
- name: yarn install
|
||||||
if: ${{ inputs.package-install == 'true' }}
|
if: ${{ inputs.package-install == 'true' }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
1
.github/workflows/build-desktop.yml
vendored
1
.github/workflows/build-desktop.yml
vendored
@@ -118,6 +118,7 @@ jobs:
|
|||||||
extra-flags: workspaces focus @affine/electron @affine/monorepo @affine-test/affine-desktop
|
extra-flags: workspaces focus @affine/electron @affine/monorepo @affine-test/affine-desktop
|
||||||
playwright-install: true
|
playwright-install: true
|
||||||
hard-link-nm: false
|
hard-link-nm: false
|
||||||
|
enableScripts: false
|
||||||
|
|
||||||
- name: Build AFFiNE native
|
- name: Build AFFiNE native
|
||||||
uses: ./.github/actions/build-rust
|
uses: ./.github/actions/build-rust
|
||||||
|
|||||||
5
.github/workflows/release-desktop-app.yml
vendored
5
.github/workflows/release-desktop-app.yml
vendored
@@ -80,11 +80,11 @@ jobs:
|
|||||||
# For windows, we need a separate approach
|
# For windows, we need a separate approach
|
||||||
matrix:
|
matrix:
|
||||||
spec:
|
spec:
|
||||||
- runner: macos-latest-xlarge
|
- runner: macos-latest
|
||||||
platform: darwin
|
platform: darwin
|
||||||
arch: x64
|
arch: x64
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
- runner: macos-latest-xlarge
|
- runner: macos-latest
|
||||||
platform: darwin
|
platform: darwin
|
||||||
arch: arm64
|
arch: arm64
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
@@ -109,6 +109,7 @@ jobs:
|
|||||||
hard-link-nm: false
|
hard-link-nm: false
|
||||||
build-plugins: false
|
build-plugins: false
|
||||||
nmHoistingLimits: workspaces
|
nmHoistingLimits: workspaces
|
||||||
|
enableScripts: false
|
||||||
- name: Build AFFiNE native
|
- name: Build AFFiNE native
|
||||||
uses: ./.github/actions/build-rust
|
uses: ./.github/actions/build-rust
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -25990,8 +25990,8 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"macos-alias@npm:macos-alias-building@latest":
|
"macos-alias@npm:macos-alias-building@latest":
|
||||||
version: 0.2.13
|
version: 0.2.14
|
||||||
resolution: "macos-alias-building@npm:0.2.13"
|
resolution: "macos-alias-building@npm:0.2.14"
|
||||||
conditions: os=darwin
|
conditions: os=darwin
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|||||||
Reference in New Issue
Block a user