Skip to content

Commit a8b1e4a

Browse files
authored
CM-55806: update mac runners (#361)
1 parent 251874e commit a8b1e4a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build_executable.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
name: Build executable version of CLI and upload artifact. On dispatch event build the latest tag and upload to release assets
1+
name: Build executable version of CLI and optionally upload artifact
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
publish:
7+
description: 'Upload artifacts to release'
8+
required: false
9+
default: false
10+
type: boolean
511
push:
612
branches:
713
- main
@@ -15,7 +21,7 @@ jobs:
1521
strategy:
1622
fail-fast: false
1723
matrix:
18-
os: [ ubuntu-22.04, macos-13, macos-14, windows-2022 ]
24+
os: [ ubuntu-22.04, macos-15-intel, macos-15, windows-2022 ]
1925
mode: [ 'onefile', 'onedir' ]
2026
exclude:
2127
- os: ubuntu-22.04
@@ -200,7 +206,7 @@ jobs:
200206
path: dist
201207

202208
- name: Upload files to release
203-
if: ${{ github.event_name == 'workflow_dispatch' }}
209+
if: ${{ github.event_name == 'workflow_dispatch' && inputs.publish }}
204210
uses: svenstaro/upload-release-action@v2
205211
with:
206212
file: dist/*

0 commit comments

Comments
 (0)