From 87d4ab1793fcdd62adc1ca621bd86063825c66ca Mon Sep 17 00:00:00 2001 From: Shenghang Tsai Date: Fri, 4 Jun 2021 20:06:09 +0800 Subject: [PATCH] Don't upload bin in release because oneflow_worker has been removed (#5096) * Don't upload bin because oneflow_worker is removed * refine * restore cuda bin dir cp * refine Co-authored-by: oneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> --- .github/workflows/release.yml | 8 -------- .github/workflows/test.yml | 8 -------- 2 files changed, 16 deletions(-) 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: |