File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11package integration
22
33import (
4- "fmt"
54 "os/exec"
65 "runtime"
76)
87
98func 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
You can’t perform that action at this time.
0 commit comments