diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 417cfddbad766e7c2a7935b2048140ab04775548..ebf704e704418189bc4c3d26ec3c4e5fcabc6e6d 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 2c32bbb3f82a99193d1fbdd9171ce8b7c21db846..36ed8dffa4b853518682d848d2b7881914171b49 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: |