Skip to content

fix:一键/单个限速-对预添加终端(终端未上线)未生效 #425

fix:一键/单个限速-对预添加终端(终端未上线)未生效

fix:一键/单个限速-对预添加终端(终端未上线)未生效 #425

Workflow file for this run

name: build
on: push
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
target: [ linux.amd64 ]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-go@v3
with:
go-version: 1.18.1
- uses: actions/setup-node@v3
with:
node-version: '12'
- name: ui
run: |
cd ui
npm install
npm run build
cd ..
- name: build
env:
target: ${{ matrix.target }}
run: |
os=$(echo $target | awk -F. '{print $1}')
arch=$(echo $target | awk -F. '{print $2}')
go mod tidy
./build.sh $os $arch