Skip to content

Commit

Permalink
fixed CI lag on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed Apr 27, 2022
1 parent 591fa3d commit e487fde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ func main() {
}

pterm.Info.Println("[" + dir + "] Running asciinema")
execute(`asciinema rec ` + animationDataPath + ` -c "go run ./_examples/` + dir + `"`)
execute(`go build -o ./_examples/` + dir + `/bundle ./_examples/` + dir)
execute(`asciinema rec ` + animationDataPath + ` -c "./_examples/` + dir + `/bundle"`)
os.Remove("./_examples/" + dir + "/bundle")

pterm.Info.Println("[" + dir + "] Adding sleep to end of 'animation_data.json'")
animationDataLines := getLinesFromFile(animationDataPath)
Expand Down

0 comments on commit e487fde

Please sign in to comment.