|
53 | 53 | if: ${{ matrix.target == 'aarch64-apple-darwin' }}
|
54 | 54 | run: sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*;
|
55 | 55 | - name: Build native packages
|
56 |
| - run: yarn build-native-release |
| 56 | + run: yarn build-native-${{ input.profile || 'release' }} |
57 | 57 | env:
|
58 | 58 | RUST_TARGET: ${{ matrix.target }}
|
59 | 59 | - name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
|
|
88 | 88 | override: true
|
89 | 89 | - uses: bahmutov/[email protected]
|
90 | 90 | - name: Build native packages
|
91 |
| - run: yarn build-native-release |
| 91 | + run: yarn build-native-${{ input.profile || 'release' }} |
92 | 92 | - name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
|
93 | 93 | run: strip packages/*/*/*.node
|
94 | 94 | - name: Upload artifacts
|
@@ -133,7 +133,7 @@ jobs:
|
133 | 133 | with:
|
134 | 134 | shared-key: ${{ matrix.target }}
|
135 | 135 | - name: Build native packages
|
136 |
| - run: yarn build-native-release |
| 136 | + run: yarn build-native-${{ input.profile || 'release' }} |
137 | 137 | env:
|
138 | 138 | RUST_TARGET: ${{ matrix.target }}
|
139 | 139 | CFLAGS: ${{ matrix.cflags }}
|
@@ -186,7 +186,7 @@ jobs:
|
186 | 186 | target: ${{ matrix.target }}
|
187 | 187 | - uses: bahmutov/[email protected]
|
188 | 188 | - name: Build native packages
|
189 |
| - run: yarn build-native-release |
| 189 | + run: yarn build-native-${{ input.profile || 'release' }} |
190 | 190 | env:
|
191 | 191 | RUST_TARGET: ${{ matrix.target }}
|
192 | 192 | CFLAGS: ${{ matrix.cflags }}
|
@@ -217,7 +217,7 @@ jobs:
|
217 | 217 | fetch-depth: 0
|
218 | 218 | - uses: bahmutov/[email protected]
|
219 | 219 | - name: Build native packages
|
220 |
| - run: yarn build-native-release |
| 220 | + run: yarn build-native-${{ input.profile || 'release' }} |
221 | 221 | - name: Download artifacts
|
222 | 222 | uses: actions/download-artifact@v3
|
223 | 223 | with:
|
|
0 commit comments