Switch Action to use node12

This commit is contained in:
Stefan Zweifel 2020-02-11 20:50:33 +01:00
parent e97d20ce65
commit ef107e1d4b
2 changed files with 15 additions and 2 deletions

View File

@ -36,8 +36,8 @@ inputs:
default: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
runs:
using: 'docker'
image: 'Dockerfile'
using: 'node12'
main: 'index.js'
branding:
icon: 'git-commit'

13
index.js Normal file
View File

@ -0,0 +1,13 @@
const core = require('@actions/core');
const exec = require('@actions/exec');
async function run() {
try {
await exec.exec('sh', ['entrypoint.sh']);
}
catch (error) {
core.setFailed(error.message);
}
}
run()