1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-10 21:01:02 +02:00
This commit is contained in:
Zackary Scholl 2025-08-03 08:16:25 -07:00
parent f9aac6f91f
commit 2db95e4f79

View file

@ -13,16 +13,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '^1.24.0'
# - name: Setup Go
# uses: actions/setup-go@v5
# with:
# go-version: '^1.24.0'
- name: Display Go version
run: go version
# - name: Display Go version
# run: go version
- name: Run unit tests
run: go test -v ./...
# - name: Run unit tests
# run: go test -v ./...
# - name: Build files
# run: |
@ -58,14 +58,3 @@ jobs:
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags '-extldflags "-static"' -o croc-windows7-amd64.exe
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags '-extldflags "-static"' -o croc-windows7-386.exe
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: croc-build-artifacts
path: |
croc-windows-*.exe
croc-linux-*
croc-darwin-*
croc-freebsd-*
croc-openbsd-*
croc-windows7-*.exe