Skip to content

Commit

Permalink
COS debug
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Feb 13, 2022
1 parent a1dc647 commit 5a76a2b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@ jobs:
- name: Install coscmd
run: sudo pip3 install coscmd

# - name: Debug Query
# if: matrix.platform == 'macos-11'
# run: |
# ls -l /Library/Frameworks/Python.framework/Versions/2.7/bin/

# - name: Setup coscmd
# if: matrix.platform == 'macos-11'
# run: |
# ln -s /Library/Frameworks/Python.framework/Versions/2.7/bin/coscmd /usr/bin/coscmd

- name: Setup Cache
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -114,7 +104,7 @@ jobs:
run: |
make artifacts-macos
- name: Configure COS CMD
- name: Configure COS For Silicon Valley
env:
SECRET_ID: ${{ secrets.COS_ID }}
SECRET_KEY: ${{ secrets.COS_KEY }}
Expand All @@ -123,10 +113,19 @@ jobs:
run: |
coscmd config -a $SECRET_ID -s $SECRET_KEY -b $BUCKET -r $REGION
- name: Debug Query
- name: Push To Silicon Valley
run: |
for file in ./dist/release/*; do coscmd upload $file /archives/; done;
- name: Configure COS For Beijing
env:
SECRET_ID: ${{ secrets.COS_ID }}
SECRET_KEY: ${{ secrets.COS_KEY }}
BUCKET: release-bj-1252011659
REGION: ap-beijing
run: |
ls -l ./dist/release/
coscmd config -a $SECRET_ID -s $SECRET_KEY -b $BUCKET -r $REGION
- name: Upload To SV
- name: Push To Beijing
run: |
for file in ./dist/release/*; do coscmd -d upload $file /archives/; done;
for file in ./dist/release/*; do coscmd upload $file /archives/; done;
2 changes: 1 addition & 1 deletion share/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package share
// session -> freeport fix bug
// 更新制品目录 -> ui/downloads
// Arm64 制品 -> arm build test
// MacOS 制品 -> debug 17
// MacOS 制品 -> debug 18

// VERSION 版本号
const VERSION = "0.9.1"
Expand Down

0 comments on commit 5a76a2b

Please sign in to comment.