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 31
31
cache : false
32
32
go-version : " 1.22"
33
33
- name : Build
34
+ if : matrix.os == 'ubuntu-22.04'
34
35
run : make build
36
+ - name : build-windows
37
+ if : matrix.os == 'windows-latest'
38
+ run : make build-exe
35
39
- name : Run Integration Tests
36
40
run : make integration
Original file line number Diff line number Diff line change 1
1
package integration
2
2
3
3
import (
4
- "fmt"
5
4
"os/exec"
6
5
"runtime"
7
6
)
8
7
9
8
func GPTScriptExec (args ... string ) (string , error ) {
10
9
cmd := exec .Command ("../bin/gptscript" , args ... )
11
10
if runtime .GOOS == "windows" {
12
- err := exec .Command ("rename" , "..\\ bin\\ gptscript" , "gptscript.exe" ).Run ()
13
- if err != nil {
14
- fmt .Println (err .Error ())
15
- }
16
11
cmd = exec .Command ("..\\ bin\\ gptscript.exe" , args ... )
17
12
}
18
13
You can’t perform that action at this time.
0 commit comments