fix:一键/单个限速-对预添加终端(终端未上线)未生效 #425
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |