Create some files

This commit is contained in:
khai96_ committed 2020-05-08 11:29:39 +07:00
1 parent a7354264cc
commit cd1794a16e
6 files changed
+65

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
import { getInput, InputOptions } from '@actions/core'
export interface Inputs {
readonly version: string
readonly dest: string
readonly binDest: string
readonly registry: string
}
const options: InputOptions = {
required: true,
}
export const getInputs = (): Inputs => ({
version: getInput('version', options),
dest: getInput('dest', options),
binDest: getInput('bin_dest', options),
registry: getInput('registry', options),
})
export default getInputs