initial commit

This commit is contained in:
Julian Gruber
2020-03-03 11:35:53 +01:00
commit b17a6cf4d9
8 changed files with 16863 additions and 0 deletions

12
index.js Normal file
View File

@@ -0,0 +1,12 @@
'use strict'
const core = require('@actions/core')
const { promises: fs } = require('fs')
const main = async () => {
const path = core.getInput('path')
const content = await fs.readFile(path, 'utf8')
core.setOutput('content', content)
}
main().catch(err => core.setFailed(err.message))