ci: trying to fix build test ci workflow

This commit is contained in:
Slug-Boi
2024-10-28 19:05:52 +01:00
parent c546326412
commit c4ac188918
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
uses: actions/setup-go@v3
- uses: actions/checkout@v3
- name: Setup Go Workfile
run: go work init ./ci ./
run: go work init ./ci ./ && rm src_code/go_src/cmd/cmd_test.go
- run: cd ci && go get dagger.io/dagger@latest && cd ..
- run: mkdir ./dist
- run: go run ci/build_test_release.go
+1 -1
View File
@@ -50,7 +50,7 @@ func main() {
build := test.
WithEnvVariable("GOOS", goos).
WithEnvVariable("GOARCH", goarch).
WithExec([]string{"go", "build", "-o", filename})
WithExec([]string{"go", "build", "-o", filename}).WithEnvVariable("CI", "true")
buildDir = buildDir.WithDirectory(path, build.Directory(path))