This commit is contained in:
Max 2022-02-13 08:54:54 +08:00
parent f47739fe2f
commit a90dbec1c2
2 changed files with 13 additions and 18 deletions

View file

@ -22,6 +22,9 @@ jobs:
sudo apt-get install -y gcc-arm-linux-gnueabi g++-arm-linux-gnueabi sudo apt-get install -y gcc-arm-linux-gnueabi g++-arm-linux-gnueabi
sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
sudo apt-get install -y g++-aarch64-linux-gnu crossbuild-essential-arm64 sudo apt-get install -y g++-aarch64-linux-gnu crossbuild-essential-arm64
- name: Install coscmd
run: sudo pip install coscmd
- name: Setup Cache - name: Setup Cache
uses: actions/cache@v2 uses: actions/cache@v2
@ -101,21 +104,13 @@ jobs:
run: | run: |
make artifacts-macos make artifacts-macos
- name: Push to Station (@Silicon Valley) - name: Configure COS CMD
uses: appleboy/scp-action@master env:
with: SECRET_ID: ${{ secrets.COS_ID }}
source: ./dist/release/* SECRET_KEY: ${{ secrets.COS_KEY }}
target: /data/release/ui/download/ BUCKET: release-sv-1252011659
host: ${{ secrets.SSH_HOST }} REGION: na-siliconvalley
port: ${{ secrets.SSH_PORT }} run: coscmd config -a $SECRET_ID -s $SECRET_KEY -b $BUCKET -r $REGION
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
- name: Distribution - name: Upload To SV
uses: appleboy/ssh-action@master run: coscmd upload ./dist/release/* /archives/
with:
script: ${{ secrets.SSH_CMD }}
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}

View file

@ -4,7 +4,7 @@ package share
// session -> freeport fix bug // session -> freeport fix bug
// 更新制品目录 -> ui/downloads // 更新制品目录 -> ui/downloads
// Arm64 制品 -> arm build test // Arm64 制品 -> arm build test
// MacOS 制品 -> debug 8 // MacOS 制品 -> debug 9
// VERSION 版本号 // VERSION 版本号
const VERSION = "0.9.1" const VERSION = "0.9.1"