chore: remove compiled imputs

This commit is contained in:
Federico Grandi
2020-11-29 17:41:48 +01:00
parent ea1d3cefff
commit 3ed8463058
6 changed files with 3 additions and 25 deletions

View File

@@ -1,11 +0,0 @@
import YAML from 'yamljs'
import fs from 'fs'
const actionManifest = YAML.load('action.yml'),
inputs = Object.keys(actionManifest?.inputs || {})
fs.writeFileSync('src/inputs.ts', `
// WARNING: this file is auto-generated by scripts/inputs.ts (npm run inputs), any manual edit will be overwritten.
export type Input = ${inputs.map(s => `'${s}'`).join(' | ')}
`.trimLeft())