mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2025-01-09 19:02:11 +00:00
60ab747148
Add a new InputOption to ignore a failure for no response receive
39 lines
574 B
JavaScript
39 lines
574 B
JavaScript
const core = require("@actions/core");
|
|
|
|
class GithubActions {
|
|
debug(message) {
|
|
core.debug(message)
|
|
}
|
|
|
|
warning(message) {
|
|
core.warning(message)
|
|
}
|
|
|
|
setOutput(name, output) {
|
|
core.setOutput(name, output)
|
|
}
|
|
|
|
setFailed(message) {
|
|
core.setFailed(message)
|
|
}
|
|
}
|
|
|
|
class LogActions {
|
|
debug(message) {
|
|
console.info(message)
|
|
}
|
|
|
|
warning(message) {
|
|
console.warn(message)
|
|
}
|
|
|
|
setOutput(name, output) {
|
|
console.log(name, output)
|
|
}
|
|
|
|
setFailed(message) {
|
|
console.error(message)
|
|
}
|
|
}
|
|
|
|
module.exports = { GithubActions, LogActions }
|