refactor: get hrp version from aliyun OSS file

This commit is contained in:
debugtalk
2022-04-25 16:23:38 +08:00
parent 7fcba33b97
commit c438c955fb
10 changed files with 26 additions and 18 deletions

View File

@@ -42,7 +42,8 @@ jobs:
access-key-secret: ${{ secrets.ALIYUN_ACCESSKEY_SECRET }}
- name: Upload artifacts to aliyun OSS
run: |
ossutil cp -rf hrp/internal/version/VERSION oss://httprunner/
ossutil cp -rf scripts/install.sh oss://httprunner/
ossutil cp -rf ${{ env.ASSET_PATH }} oss://httprunner/
- name: Test install.sh
run: bash -c "$(curl -ksSL https://httprunner.oss-cn-beijing.aliyuncs.com/install.sh)"
run: bash -c "$(curl -ksSL https://httprunner.com/script/install.sh)"