Skip to content

Commit e8bb335

Browse files
committed
Conditionally build dylib
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
1 parent 8293890 commit e8bb335

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- stable
1212
release_notes:
1313
description: Release notes for the publishing the release. This is required to create a release.
14+
build_dylib:
15+
type: boolean
16+
required: true
17+
default: false
1418
dry_run:
1519
description: Perform a dry-run release (devel). Note that ref must be an annotated tag when run without dry-run.
1620
type: boolean
@@ -34,7 +38,8 @@ env:
3438
jobs:
3539
# build-dylib is a separate job to build the dylib on macOS.
3640
build-dylib:
37-
runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest' }}
41+
if: inputs.build_dylib
42+
runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest' }}
3843
steps:
3944
# Harden Runner doesn't work on macOS.
4045
- name: Checkout

0 commit comments

Comments
 (0)