修改ci
This commit is contained in:
parent
7131a95a8b
commit
fb6e214db7
|
@ -39,19 +39,6 @@ jobs:
|
|||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.18
|
||||
- name: Cache Go modules
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cache/go-build
|
||||
~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
- name: Check snapshot
|
||||
if: "!startsWith(github.ref, 'refs/tags/')"
|
||||
id: snapshot
|
||||
run: echo '::set-output name=ARG::--snapshot'
|
||||
|
||||
- name: Build binary file
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue