Skip to content

Commit

Permalink
chore: error message about missing GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
chuhlomin committed May 20, 2023
1 parent 5dd41a8 commit 8150a44
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,13 @@ func writeOutput(output string) error {

f, err := os.OpenFile(path, os.O_APPEND|os.O_WRONLY, 0644)
if err != nil {
return fmt.Errorf("failed to open result file %q: %v", path, err)
return fmt.Errorf(
"failed to open result file %q: %v. "+
"If you are using self-hosted runners "+
"make sure they are updated to version 2.297.0 or greater",
path,
err,
)
}
defer f.Close()

Expand Down

0 comments on commit 8150a44

Please sign in to comment.