File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 99 strategy :
1010 matrix :
1111 target :
12- - { name: windows64, GOOS: windows, GOARCH: amd64, BIN: "dockerized.exe" }
12+ - { name: windows64, GOOS: windows }
1313 steps :
1414 - uses : actions/checkout@v2
1515 - run : mkdir -p release/${{ matrix.target.name }}
1616 - name : Copy static assets
1717 run : cp -r apps/ .env *.md docker-compose.yml release/${{ matrix.target.name }}
1818 - name : Build
19- env :
20- GOOS : " ${{ matrix.target.GOOS }}"
21- BIN : " ${{ matrix.target.BIN }}"
22- GO_VERSION : " 1.17.8"
2319 run : |
24- bin/dockerized go build -o release/${{ matrix.target.name }}/bin/$BIN lib/dockerized.go
20+ GO_VERSION=1.17.8 GOOS=${{ matrix.target.GOOS }} bin/dockerized go build -o release/${{ matrix.target.name }}/bin/ lib/dockerized.go
2521 - name : Zip
2622 working-directory : release/${{ matrix.target.name }}
2723 run : |
You can’t perform that action at this time.
0 commit comments