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