[change] build workflow

This commit is contained in:
Max 2023-06-15 09:49:21 +08:00
parent 3947c64ff8
commit 7776288b23
3 changed files with 5 additions and 1 deletions

View file

@ -22,7 +22,7 @@ jobs:
- name: Get Version
run: |
echo VERSION=$(cat share/const.go |grep 'const VERSION' | awk '{print $4}' | sed "s/\"//g") >> $GITHUB_ENV
echo VERSION=$(cat share/const.go |grep 'const VERSION' | awk '{print $4}' | sed "s/\"//g")-unstable >> $GITHUB_ENV
- name: Check Version
run: echo $VERSION

View file

@ -107,6 +107,8 @@ jobs:
- name: Make Artifacts Linux
run: |
make artifacts-linux
mv dist/release/yao-0.10.3-dev-linux-arm64 dist/release/yao-0.10.3-unstable-linux-arm64
mv dist/release/yao-0.10.3-dev-linux-amd64 dist/release/yao-0.10.3-unstable-linux-amd64
- name: Configure COS For Silicon Valley
env:

View file

@ -103,6 +103,8 @@ jobs:
- name: Make Artifacts MacOS
run: |
make artifacts-macos
mv dist/release/yao-0.10.3-dev-darwin-arm64 dist/release/yao-0.10.3-unstable-darwin-arm64
mv dist/release/yao-0.10.3-dev-darwin-amd64 dist/release/yao-0.10.3-unstable-darwin-amd64
- name: Configure COS For Silicon Valley
env: