From 632eb39bb6d44432b7524e4574a9e9c265f3c487 Mon Sep 17 00:00:00 2001 From: wugeshui <106943115+wugeshui@users.noreply.github.com> Date: Wed, 18 Oct 2023 18:10:50 +0800 Subject: [PATCH] Update ce.yml --- .github/workflows/ce.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ce.yml b/.github/workflows/ce.yml index 12c589110..94b0aefb2 100644 --- a/.github/workflows/ce.yml +++ b/.github/workflows/ce.yml @@ -28,17 +28,19 @@ jobs: diff_output=$(diff -q --ignore-all-space "$target_file" "$source_file" ) && export result=0 || export result=1 if [ $result -eq 0 ]; then echo "The file content is the same,results have been collected" + echo $results echo "results=$result" >> "$GITHUB_OUTPUT" fi # - name: Archive results -# if: ${{ needs.Archive_Results.outputs.results == 1 }}" +# if: ${{ needs.Archive_Results.outputs.results == 1 }} # uses: actions/upload-artifact@v3 # with: # name: train-results # path: /artifacts/** - name: Flag override - if: ${{ needs.Archive_Results.outputs.results == 1 }}" + if: ${{ needs.Archive_Results.outputs.results == 1 }} run: | + echo ${{ needs.Archive_Results.outputs.results }} cp -r ${source_file} ${target_file}