CD DEBUG
This commit is contained in:
parent
92b2af94f1
commit
f47739fe2f
3 changed files with 8 additions and 10 deletions
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
|
@ -102,22 +102,20 @@ jobs:
|
|||
make artifacts-macos
|
||||
|
||||
- name: Push to Station (@Silicon Valley)
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
uses: nogsantos/scp-deploy@master
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
src: ./dist/release/*
|
||||
source: ./dist/release/*
|
||||
target: /data/release/ui/download/
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
remote: /data/release/ui/download/
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
user: ${{ secrets.SSH_USER }}
|
||||
username: ${{ secrets.SSH_USER }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
|
||||
- name: Distribution
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
script: ${{ secrets.SSH_CMD }}
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
username: ${{ secrets.SSH_USER }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
script: ${{ secrets.SSH_CMD }}
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -293,7 +293,7 @@ artifacts-macos: clean
|
|||
|
||||
# 制品
|
||||
mkdir -p dist
|
||||
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=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 7
|
||||
// MacOS 制品 -> debug 8
|
||||
|
||||
// VERSION 版本号
|
||||
const VERSION = "0.9.1"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue