test
This commit is contained in:
@@ -33,25 +33,25 @@ jobs:
|
||||
- name: Test
|
||||
run: go test -race -v -shuffle=on ./...
|
||||
|
||||
- name: Build for linux
|
||||
run: |
|
||||
go build -o bin/SteamCache2-${VERSION#v}-${BUILD}-${GOOS}-${GOARCH} main.go
|
||||
env:
|
||||
VERSION: ${{github.ref_name}}
|
||||
BUILD: ${{github.run_number}}
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
EXE: ""
|
||||
# - name: Build for linux
|
||||
# run: |
|
||||
# go build -o bin/SteamCache2-${VERSION#v}-${BUILD}-${GOOS}-${GOARCH} main.go
|
||||
# env:
|
||||
# VERSION: ${{github.ref_name}}
|
||||
# BUILD: ${{github.run_number}}
|
||||
# GOOS: linux
|
||||
# GOARCH: amd64
|
||||
# EXE: ""
|
||||
|
||||
- name: Build for windows
|
||||
run: |
|
||||
go build -o bin/SteamCache2-${VERSION#v}-${BUILD}-${GOOS}-${GOARCH} main.go
|
||||
env:
|
||||
VERSION: ${{github.ref_name}}
|
||||
BUILD: ${{github.run_number}}
|
||||
GOOS: windows
|
||||
GOARCH: amd64
|
||||
EXE: ".exe"
|
||||
# - name: Build for windows
|
||||
# run: |
|
||||
# go build -o bin/SteamCache2-${VERSION#v}-${BUILD}-${GOOS}-${GOARCH} main.go
|
||||
# env:
|
||||
# VERSION: ${{github.ref_name}}
|
||||
# BUILD: ${{github.run_number}}
|
||||
# GOOS: windows
|
||||
# GOARCH: amd64
|
||||
# EXE: ".exe"
|
||||
|
||||
- name: Release binaries
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
|
||||
Reference in New Issue
Block a user