This commit is contained in:
parent
434916ed71
commit
9aa1bdd2b8
@ -19,20 +19,6 @@ jobs:
|
|||||||
- uses: https://gitea.com/actions/setup-go@v3
|
- uses: https://gitea.com/actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.20.1'
|
go-version: '>=1.20.1'
|
||||||
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
|
|
||||||
id: hash-go
|
|
||||||
with:
|
|
||||||
patterns: |
|
|
||||||
go.mod
|
|
||||||
go.sum
|
|
||||||
- name: cache go
|
|
||||||
id: cache-go
|
|
||||||
uses: https://github.com/actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
/go_path
|
|
||||||
/go_cache
|
|
||||||
key: go_path-${{ steps.hash-go.outputs.hash }}
|
|
||||||
- name: windows build
|
- name: windows build
|
||||||
run: mkdir -p bin && GOOS=windows go build -o bin/bridge-windows-amd64.exe
|
run: mkdir -p bin && GOOS=windows go build -o bin/bridge-windows-amd64.exe
|
||||||
- name: linux build
|
- name: linux build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user