Skip to content

Commit

Permalink
ci: another attempt at a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Slug-Boi committed Nov 25, 2024
1 parent 2716070 commit ede7232
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ci/build_test_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ func main() {
WithExec([]string{"go", "mod", "tidy"}).WithEnvVariable("CI", "true")

// run application tests
test := runner.WithWorkdir("/src_d/src/").WithExec([]string{"go", "test", "./..."})
//.WithEnvVariable("CI", "true")
test := runner.WithWorkdir("/src_d/src/").WithExec([]string{"go", "test", "./..."}).WithEnvVariable("CI", "true")

buildDir := test.Directory("/src/")
buildDir := test.Directory("/src_d/src/")

for _, goos := range geese {
path := fmt.Sprintf("/dist/")
Expand All @@ -51,8 +50,7 @@ func main() {
build := test.
WithEnvVariable("GOOS", goos).
WithEnvVariable("GOARCH", goarch).
WithExec([]string{"go", "build", "-o", filename})
//.WithEnvVariable("CI", "true")
WithExec([]string{"go", "build", "-o", filename}).WithEnvVariable("CI", "true")

buildDir = buildDir.WithDirectory(path, build.Directory(path))

Expand Down

0 comments on commit ede7232

Please sign in to comment.