fix: 解决容器编排路径为空时无法删除的问题 (#6862) #23
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
on: | |
pull_request: | |
branches: | |
- dev | |
push: | |
branches: | |
- dev | |
name: Build Test | |
jobs: | |
build-linux-binary: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.2' | |
- name: Build Web | |
id: build_frontend | |
run: | | |
cd frontend && npm install && npm run build:pro | |
env: | |
NODE_OPTIONS: --max-old-space-size=8192 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Build Server | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
args: release --snapshot --clean |