1
0
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:
2023-11-12 14:34:50 +00:00
parent 163da852f6
commit ec96d406c4
2 changed files with 14 additions and 6 deletions
+7 -3
View File
@@ -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
+7 -3
View File
@@ -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