diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 417cfddbad7..ebf704e7044 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -184,14 +184,6 @@ jobs: python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple python3 -m pip install oss2 beautifulsoup4 --user python3 tools/create_pip_index.py --dir_key ${oss_dir} -b oneflow-staging --index_key=${oss_branch_dir}/index.html --index_key=${oss_dir}/index.html - - name: Upload bin - if: env.is_built != '1' && contains(env.compute_platforms, matrix.compute_platform) - uses: ./.github/actions/upload_oss - with: - src_path: ${bin_dir} - oss_dst_path: oss://oneflow-staging/${oss_dir}/bin/${{ matrix.compute_platform }} - oss_access_key_id: ${{ secrets.OSS_ACCESS_KEY_ID }} - oss_access_key_secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }} - name: Update API docs if: github.ref == 'refs/heads/master' && matrix.compute_platform == 'cu102' && contains(env.compute_platforms, matrix.compute_platform) env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c32bbb3f82..36ed8dffa4b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -245,14 +245,6 @@ jobs: oss_dst_path: oss://oneflow-staging/${{ github.repository }}/pr/${{ github.event.pull_request.number }}/${{ github.sha }}/${{ matrix.test_suite }}/whl oss_access_key_id: ${{ secrets.OSS_ACCESS_KEY_ID }} oss_access_key_secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }} - - name: Upload bin to cloud, enable by adding label 'upload-wheel' - if: contains(github.event.pull_request.labels.*.name, 'upload-wheel') && matrix.test_suite != 'mac' - uses: ./.github/actions/upload_oss - with: - src_path: ${bin_dir} - oss_dst_path: oss://oneflow-staging/${{ github.repository }}/pr/${{ github.event.pull_request.number }}/${{ github.sha }}/${{ matrix.test_suite }}/bin - oss_access_key_id: ${{ secrets.OSS_ACCESS_KEY_ID }} - oss_access_key_secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }} - name: Remove container if: always() && matrix.test_suite != 'mac' run: |