GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add OS selection input for manual workflow runs · codinit-dev/codinit-dev@464c2bc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • electron.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/electron.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/electron.yml
+11-2Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
tag:
77
description: 'Tag for the release (e.g., v1.0.0). Leave empty if not applicable.'
88
required: false
9+
os:
10+
description: 'Operating system to build for (all, ubuntu-latest, windows-latest, macos-latest)'
11+
required: false
12+
default: 'all'
913
push:
1014
branches:
1115
- electron
@@ -18,10 +22,15 @@ permissions:
1822
jobs:
1923
build:
2024
runs-on: ${{ matrix.os }}
21-
25+
2226
strategy:
2327
matrix:
24-
os: [ubuntu-latest, windows-latest, macos-latest] # Use unsigned macOS builds for now
28+
os: >-
29+
${{
30+
github.event_name == 'workflow_dispatch' && github.event.inputs.os != 'all'
31+
&& fromJSON(format('["{0}"]', github.event.inputs.os))
32+
|| fromJSON('["ubuntu-latest", "windows-latest", "macos-latest"]')
33+
}}
2534
node-version: [20.15.1]
2635
fail-fast: false
2736

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.