-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Environment variables from the GitHub action context were not pa…
…ssed through to the underlying Octopus CLI fix: StdError and the process exit code returned by the CLI are now shown in Github Action runs refactor: Sync codebase with create-release-action closes #248 #249
- Loading branch information
Showing
16 changed files
with
1,087 additions
and
961 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
{ | ||
"printWidth": 80, | ||
"printWidth": 120, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"bracketSpacing": false, | ||
"arrowParens": "avoid" | ||
"bracketSpacing": true, | ||
"arrowParens": "avoid", | ||
"endOfLine": "auto" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { CliOutput } from '../src/cli-util' | ||
|
||
export class CaptureOutput implements CliOutput { | ||
infos: string[] | ||
warns: string[] | ||
|
||
constructor() { | ||
this.infos = [] | ||
this.warns = [] | ||
} | ||
|
||
info(message: string) { | ||
this.infos.push(message) | ||
} | ||
warn(message: string) { | ||
this.warns.push(message) | ||
} | ||
|
||
getAllMessages(): string[] { | ||
return this.infos.concat(this.warns) | ||
} | ||
} |
Oops, something went wrong.