mirror of
https://github.com/stCarolas/setup-maven.git
synced 2026-10-02 17:41:32 +00:00
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:
1 parent
a9bcf4cc10
commit
1996e963e1
25 files changed
+753
-65
No files matched your search
+8
-1
@@ -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);
|
||||
```
|
||||
```
|
||||
Reference in new issue
Block a user