feat(构建脚本): 更新构建脚本

This commit is contained in:
2025-12-02 12:54:34 +08:00
parent 835ce6ed56
commit 021a8e521b

View File

@@ -18,11 +18,11 @@ jobs:
with:
args: bash build.sh
- name: upload to cos
uses: docker://ccr.ccs.tencentyun.com/xiaoqidun/gocos:latest
env:
PLUGIN_SECRET_ID: ${{secrets.cos_secret_id}}
PLUGIN_SECRET_KEY: ${{secrets.cos_secret_key}}
PLUGIN_BUCKET_URL: ${{secrets.cos_bucket_url}}
PLUGIN_SOURCE: release/
PLUGIN_TARGET: product/gitcz
PLUGIN_STRIP_PREFIX: release/
uses: xiaoqidun/gocos@main
with:
secret_id: ${{ secrets.cos_secret_id }}
secret_key: ${{ secrets.cos_secret_key }}
bucket_url: ${{ secrets.cos_bucket_url }}
source_path: release
target_path: product/gitcz
strip_prefix: release