From 7bb102c94853f51864e8c96adbacd2be6935251b Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Thu, 27 Nov 2025 17:32:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=BF=81=E7=A7=BB=E6=9E=84=E5=BB=BA):=20?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..49b0832 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,24 @@ +on: [push, workflow_dispatch] +jobs: + build: + runs-on: cn + steps: + - name: checkout + uses: actions/checkout@v6 + - name: docker goenv + uses: docker://ccr.ccs.tencentyun.com/xiaoqidun/goenv:latest + env: + GIT_SERVER: ${{ secrets.git_server }} + GIT_USER: ${{ secrets.git_user }} + GIT_TOKEN: ${{ secrets.git_token }} + 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/wslkd + PLUGIN_STRIP_PREFIX: release/ \ No newline at end of file