Skip to content
Snippets Groups Projects
Unverified Commit 450f9c6b authored by Shenghang Tsai's avatar Shenghang Tsai Committed by GitHub
Browse files

Prevent upload logs automatically (#5560)


* prevent upload logs

* refine

* refine

Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
parent 7b786b27
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ jobs:
ONEFLOW_TEST_GITHUB_HOSTED=1 ONEFLOW_TEST_CPU_ONLY=1 bash ci/test/1node_op_test.sh
shell: bash -l {0}
- name: "Tar logs"
if: always()
if: always() && contains(github.event.pull_request.labels.*.name, 'need-simple-ci-upload-artifact')
continue-on-error: true
run: |
set -ex
......@@ -199,7 +199,7 @@ jobs:
tar -cvf cwd_test_tmp_dir.tar ${PWD}/test_tmp_dir
fi
- name: Upload logs
if: always()
if: always() && contains(github.event.pull_request.labels.*.name, 'need-simple-ci-upload-artifact')
uses: actions/upload-artifact@v2
with:
name: logs-${{ matrix.test_suite }}-${{ matrix.cmake_generator }}-${{ matrix.cmake_build_type }}-shared-${{ matrix.build_shared_libs }}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment