Skip to content

Commit

Permalink
Update ce.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wugeshui authored Oct 18, 2023
1 parent 44e3ab3 commit 632eb39
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 632eb39

Please sign in to comment.