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:
|
||||
description: Targets
|
||||
required: true
|
||||
default: "chrome,firefox"
|
||||
type: string
|
||||
default: '["chrome","firefox"]'
|
||||
type: choice
|
||||
options:
|
||||
- '["chrome","firefox"]'
|
||||
- '["chrome"]'
|
||||
- '["firefox"]'
|
||||
firefox:
|
||||
description: Deploy Firefox
|
||||
type: boolean
|
||||
@@ -34,7 +38,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
target: ${{ fromJSON(format('[%s]', github.event.inputs.targets || 'chrome,firefox')) }}
|
||||
target: ${{ fromJSON(github.event.inputs.targets || '["chrome","firefox"]') }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@main
|
||||
|
||||
@@ -17,8 +17,12 @@ on:
|
||||
targets:
|
||||
description: Targets
|
||||
required: true
|
||||
default: "chrome,firefox"
|
||||
type: string
|
||||
default: '["chrome","firefox"]'
|
||||
type: choice
|
||||
options:
|
||||
- '["chrome","firefox"]'
|
||||
- '["chrome"]'
|
||||
- '["firefox"]'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -27,7 +31,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
target: ${{ fromJSON(format('[%s]', github.event.inputs.targets || 'chrome,firefox')) }}
|
||||
target: ${{ fromJSON(github.event.inputs.targets || '["chrome","firefox"]') }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@main
|
||||
|
||||
Reference in New Issue
Block a user