mirror of
https://github.com/zhaojh329/rttys.git
synced 2026-02-27 09:53:21 +08:00
feat: use go:embed from go1.16
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -13,6 +13,15 @@ jobs:
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16.0
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '12'
|
||||
- name: frontend
|
||||
run: |
|
||||
cd frontend
|
||||
npm install
|
||||
npm run build
|
||||
cd ..
|
||||
- name: build
|
||||
env:
|
||||
target: ${{ matrix.target }}
|
||||
|
||||
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -37,10 +37,17 @@ jobs:
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16.0
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '12'
|
||||
- id: release-asset
|
||||
env:
|
||||
target: ${{ matrix.target }}
|
||||
run: |
|
||||
cd frontend
|
||||
npm install
|
||||
npm run build
|
||||
cd ..
|
||||
version=${{ steps.get-version.outputs.version-without-v }}
|
||||
os=$(echo $target | awk -F. '{print $1}')
|
||||
arch=$(echo $target | awk -F. '{print $2}')
|
||||
|
||||
Reference in New Issue
Block a user