CD 调试
This commit is contained in:
parent
9940a4ece2
commit
92b2af94f1
3 changed files with 4 additions and 2 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -102,6 +102,7 @@ jobs:
|
|||
make artifacts-macos
|
||||
|
||||
- name: Push to Station (@Silicon Valley)
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
uses: nogsantos/scp-deploy@master
|
||||
with:
|
||||
src: ./dist/release/*
|
||||
|
|
@ -112,6 +113,7 @@ jobs:
|
|||
key: ${{ secrets.SSH_KEY }}
|
||||
|
||||
- name: Distribution
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -293,7 +293,7 @@ artifacts-macos: clean
|
|||
|
||||
# 制品
|
||||
mkdir -p dist
|
||||
CGO_ENABLED=1 CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -v -o dist/yao-${VERSION}-darwin-amd64
|
||||
CGO_ENABLED=1 CGO_LDFLAGS="-static" CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -v -o dist/yao-${VERSION}-darwin-amd64
|
||||
CGO_ENABLED=1 CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -v -o dist/yao-${VERSION}-darwin-arm64
|
||||
|
||||
mkdir -p dist/release
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ package share
|
|||
// session -> freeport fix bug
|
||||
// 更新制品目录 -> ui/downloads
|
||||
// Arm64 制品 -> arm build test
|
||||
// MacOS 制品 -> debug 6
|
||||
// MacOS 制品 -> debug 7
|
||||
|
||||
// VERSION 版本号
|
||||
const VERSION = "0.9.1"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue