We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfe0853 commit 5def531Copy full SHA for 5def531
1 file changed
actions/helm/generate-docs/action.yml
@@ -187,15 +187,17 @@ runs:
187
WORKING_DIRECTORY: ${{ steps.prepare-variables.outputs.working-directory }}
188
CACHE_PATH: ${{ steps.prepare-variables.outputs.prettier-cache-path }}
189
FILES_PATTERN: ${{ steps.prepare-variables.outputs.files-pattern }}
190
- VALUES_FILE: ${{ steps.prepare-variables.outputs.values-file || '' }}
+ VALUES_FILE: ${{ steps.prepare-variables.outputs.values-file }}
191
with:
192
script: |
193
+
194
195
await exec.exec('npx', [
196
'prettier',
197
'--cache-location', process.env.CACHE_PATH,
198
'--write',
199
process.env.FILES_PATTERN,
- process.env.VALUES_FILE,
200
+ process.env.VALUES_FILE || undefined,
201
], {
202
cwd: process.env.WORKING_DIRECTORY,
203
});
0 commit comments