Fix #4 Update @actions/core

See here for further details:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands
This commit is contained in:
Uwe Daub
2020-11-19 16:36:25 +01:00
parent a9bcf4cc10
commit 1996e963e1
25 changed files with 753 additions and 65 deletions

View File

@@ -82,7 +82,14 @@ try {
core.warning('myInput was not set');
}
if (core.isDebug()) {
// curl -v https://github.com
} else {
// curl https://github.com
}
// Do stuff
core.info('Output to the actions build log')
}
catch (err) {
core.error(`Error ${err}, action may still succeed though`);
@@ -137,4 +144,4 @@ const core = require('@actions/core');
var pid = core.getState("pidToKill");
process.kill(pid);
```
```