mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-06-20 02:29:44 +08:00
Switch Action to use node12
This commit is contained in:
parent
e97d20ce65
commit
ef107e1d4b
@ -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
13
index.js
Normal 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()
|
Loading…
x
Reference in New Issue
Block a user