mirror of
https://github.com/XFox111/PasswordGeneratorExtension.git
synced 2026-04-22 08:08:01 +03:00
Fix for workflows matrix
This commit is contained in:
@@ -8,8 +8,12 @@ on:
|
|||||||
targets:
|
targets:
|
||||||
description: Targets
|
description: Targets
|
||||||
required: true
|
required: true
|
||||||
default: "chrome,firefox"
|
default: '["chrome","firefox"]'
|
||||||
type: string
|
type: choice
|
||||||
|
options:
|
||||||
|
- '["chrome","firefox"]'
|
||||||
|
- '["chrome"]'
|
||||||
|
- '["firefox"]'
|
||||||
firefox:
|
firefox:
|
||||||
description: Deploy Firefox
|
description: Deploy Firefox
|
||||||
type: boolean
|
type: boolean
|
||||||
@@ -34,7 +38,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
target: ${{ fromJSON(format('[%s]', github.event.inputs.targets || 'chrome,firefox')) }}
|
target: ${{ fromJSON(github.event.inputs.targets || '["chrome","firefox"]') }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@main
|
- uses: actions/checkout@main
|
||||||
|
|||||||
@@ -17,8 +17,12 @@ on:
|
|||||||
targets:
|
targets:
|
||||||
description: Targets
|
description: Targets
|
||||||
required: true
|
required: true
|
||||||
default: "chrome,firefox"
|
default: '["chrome","firefox"]'
|
||||||
type: string
|
type: choice
|
||||||
|
options:
|
||||||
|
- '["chrome","firefox"]'
|
||||||
|
- '["chrome"]'
|
||||||
|
- '["firefox"]'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -27,7 +31,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
target: ${{ fromJSON(format('[%s]', github.event.inputs.targets || 'chrome,firefox')) }}
|
target: ${{ fromJSON(github.event.inputs.targets || '["chrome","firefox"]') }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@main
|
- uses: actions/checkout@main
|
||||||
|
|||||||
Reference in New Issue
Block a user