Skip to content

Commit aa2874e

Browse files
committed
run the right make target for windows
Signed-off-by: Grant Linville <[email protected]>
1 parent 7b9b836 commit aa2874e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/integration.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
cache: false
3232
go-version: "1.22"
3333
- name: Build
34+
if: matrix.os == 'ubuntu-22.04'
3435
run: make build
36+
- name: build-windows
37+
if: matrix.os == 'windows-latest'
38+
run: make build-exe
3539
- name: Run Integration Tests
3640
run: make integration

integration/helpers.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
package integration
22

33
import (
4-
"fmt"
54
"os/exec"
65
"runtime"
76
)
87

98
func GPTScriptExec(args ...string) (string, error) {
109
cmd := exec.Command("../bin/gptscript", args...)
1110
if runtime.GOOS == "windows" {
12-
err := exec.Command("rename", "..\\bin\\gptscript", "gptscript.exe").Run()
13-
if err != nil {
14-
fmt.Println(err.Error())
15-
}
1611
cmd = exec.Command("..\\bin\\gptscript.exe", args...)
1712
}
1813

0 commit comments

Comments
 (0)