We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 935d55c commit 844bf0fCopy full SHA for 844bf0f
.github/workflows/docker.yml
@@ -88,17 +88,16 @@ jobs:
88
const inputs = `${{ toJSON(github.event.inputs) }}`;
89
const opt = {input:{}, dot:{}};
90
91
- core.info(inputs);
92
-
93
try{
94
if(inputs.length > 0){
+ inputs = inputs.replace(/"platform":\s*"\[(.+)\]",/i, /"platform": [$1]/);
95
opt.input = JSON.parse(inputs);
96
if(opt.input?.etc){
97
opt.input.etc = JSON.parse(Buffer.from(opt.input.etc, 'base64').toString('ascii'));
98
}
99
100
}catch(e){
101
- core.warning('could not parse github.event.inputs');
+ core.warning('could not parse github.event.inputs', e);
102
103
104
0 commit comments