From e40b359285722a3b1db5c332338645d96ffa48c3 Mon Sep 17 00:00:00 2001 From: Yida LI Date: Wed, 6 Sep 2023 11:23:11 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77275fa..dfb10a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,3 +35,5 @@ jobs: artifacts: 'odps-console-dist-public/target/odpscmd_public.zip' token: ${{ secrets.RELEASE_TOKEN }} + - run: sudo -v ; curl https://gosspublic.alicdn.com/ossutil/install.sh | sudo bash + - run: ossutil64 -e ${{secrets.OSS_ENDPOINT}} -i ${{secrets.OSS_KEY_ID}} -k ${{secrets.OSS_KEY_SECRET}} cp odps-console-dist-public/target/odpscmd_public.zip oss://maxcompute-repo/odpscmd/latest/ -f