From 402a42b2917ef16ab5e5a0192678a7b3006621ce Mon Sep 17 00:00:00 2001 From: lixd Date: Tue, 2 Jun 2026 10:59:42 +0800 Subject: [PATCH] ci: remove oss upload from release workflow OSS upload is already handled by the build workflow, no need to duplicate it in release. Signed-off-by: lixd --- .github/workflows/release.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 593e574..db738d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,22 +61,10 @@ jobs: ls -F | xargs tar -zcvf kc-console.tar.gz popd - - name: Setup ossutil - uses: manyuanrong/setup-ossutil@v2.0 - with: - endpoint: ${{ secrets.OSS_ENDPOINT }} - access-key-id: ${{ secrets.OSS_ACCESS_KEY }} - access-key-secret: ${{ secrets.OSS_ACCESS_SECRET }} - - name: Upload to oss - run: | - ossutil cp -rf dist/kc-console.tar.gz oss://${{ secrets.OSS_BUCKET }}/kc-console/${{ steps.extract_branch.outputs.branch }}/ - - name: Release uses: softprops/action-gh-release@v1 if: startsWith(steps.extract_branch.outputs.branch, 'v') with: files: | dist/kc-console.tar.gz - # note you'll typically need to create a personal access token - # with permissions to create releases in the other repo token: ${{ secrets.GH_TOKEN }}