- name: Check out code into the Go module directory
uses: actions/checkout@v2
- - name: Setup MSYS2
+ - name: Setup MSYS2 And Build
uses: msys2/setup-msys2@v2
- shell: msys2 {0}
run: |
- pacman -S mingw-w64-x86_64-gtk3
- pacman -S mingw-w64-x86_64-toolchain base-devel
-
- - name: Build
- run: |
- C:\msys64\pacman -S mingw-w64-x86_64-gtk3
+ pacman -S --noconfirm mingw-w64-x86_64-gtk3
+ pacman -S --noconfirm mingw-w64-x86_64-toolchain base-devel
go build -v -o demo/demo.exe -i demo/main.go
- name: zip