From bbae1cddcc114c2177ebb96cc17641cd2c039c99 Mon Sep 17 00:00:00 2001 From: Shenghang Tsai Date: Tue, 28 Nov 2023 17:28:39 +0800 Subject: [PATCH] Add --disable-ignore-error in OSS action (#10360) --- .github/actions/upload_oss/action.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/upload_oss/action.yml b/.github/actions/upload_oss/action.yml index 9ce69b32a3f..fba719bf1e8 100644 --- a/.github/actions/upload_oss/action.yml +++ b/.github/actions/upload_oss/action.yml @@ -18,7 +18,7 @@ runs: exit 0 fi if [ ! -f "$HOME/ossutil64" ]; then - curl http://gosspublic.alicdn.com/ossutil/1.6.19/ossutil64 -o $HOME/ossutil64 + curl http://gosspublic.alicdn.com/ossutil/1.7.15/ossutil64 -o $HOME/ossutil64 fi chmod 755 $HOME/ossutil64 $HOME/ossutil64 config -e oss-cn-beijing.aliyuncs.com -i ${{ inputs.oss_access_key_id }} -k ${{ inputs.oss_access_key_secret }} -L EN -c $HOME/.ossutilconfig @@ -33,7 +33,7 @@ runs: upload_core_arg+='--exclude "core*"' fi set -x - $HOME/ossutil64 cp --update ${dir_arg} ${upload_core_arg} ${{ inputs.src_path }} ${{ inputs.oss_dst_path }} + $HOME/ossutil64 cp --disable-ignore-error --update ${dir_arg} ${upload_core_arg} ${{ inputs.src_path }} ${{ inputs.oss_dst_path }} shell: bash env: OSS_ACCESS_KEY_ID: ${{ inputs.oss_access_key_id }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9ca52c2ec0..df9950ee0f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -253,7 +253,7 @@ jobs: git reset --hard git clean -f git archive --prefix oneflow/ --format zip HEAD > oneflow-src.zip - curl http://gosspublic.alicdn.com/ossutil/1.6.19/ossutil64 -o $HOME/ossutil64 + curl http://gosspublic.alicdn.com/ossutil/1.7.15/ossutil64 -o $HOME/ossutil64 chmod 755 $HOME/ossutil64 $HOME/ossutil64 config -e oss-cn-beijing.aliyuncs.com -i ${OSS_ACCESS_KEY_ID} -k ${OSS_ACCESS_KEY_SECRET} -L EN -c $HOME/.ossutilconfig - $HOME/ossutil64 cp --update oneflow-src.zip oss://oneflow-public/oneflow-src.zip + $HOME/ossutil64 cp --disable-ignore-error --update oneflow-src.zip oss://oneflow-public/oneflow-src.zip