From ede723294c4c12b35d27d445e103229335acb76e Mon Sep 17 00:00:00 2001 From: Slug-Boi Date: Mon, 25 Nov 2024 20:12:39 +0100 Subject: [PATCH] ci: another attempt at a fix --- ci/build_test_release.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ci/build_test_release.go b/ci/build_test_release.go index 08d5eff..f1f10e0 100644 --- a/ci/build_test_release.go +++ b/ci/build_test_release.go @@ -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/") @@ -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))