mirror of https://github.com/bjdgyc/anylink.git
修复otp二维码 不显示的问题
This commit is contained in:
parent
c63604aba3
commit
5731d9a01c
|
@ -14,13 +14,13 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.18
|
go-version: 1.20
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -32,7 +32,7 @@ jobs:
|
||||||
cd server
|
cd server
|
||||||
mkdir ui
|
mkdir ui
|
||||||
touch ui/index.html
|
touch ui/index.html
|
||||||
go build -v -o anylink -ldflags "-X main.CommitId=`git rev-parse HEAD`"
|
go build -v -o anylink -trimpath -ldflags "-X main.CommitId=`git rev-parse HEAD`"
|
||||||
./anylink tool -v
|
./anylink tool -v
|
||||||
|
|
||||||
- name: Test coverage
|
- name: Test coverage
|
||||||
|
|
Loading…
Reference in New Issue