Skip to content

Commit

Permalink
test error shows in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Sep 27, 2024
1 parent 08ef974 commit f2d4983
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
shell: bash
working-directory: ${{ inputs.working-directory }}
run: |
hash=$(${GITHUB_ACTION_PATH}/list-make-prerequisites.py ${{ inputs.target }} ${{ inputs.flags }} --hash 2>/dev/null)
prerequisites=$(${GITHUB_ACTION_PATH}/list-make-prerequisites.py ${{ inputs.target }} ${{ inputs.flags }} 2>/dev/null | xargs)
hash=$(${GITHUB_ACTION_PATH}/list-make-prerequisites.py ${{ inputs.target }} ${{ inputs.flags }} --hash)
prerequisites=$(${GITHUB_ACTION_PATH}/list-make-prerequisites.py ${{ inputs.target }} ${{ inputs.flags }} | xargs)
echo "hash=$hash" >> $GITHUB_OUTPUT
echo "prerequisites=$prerequisites" >> $GITHUB_OUTPUT
1 change: 1 addition & 0 deletions list-make-prerequisites.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def hash_files(file_list):


if __name__ == "__main__":
raise ValueError("Testing error appears in CI.")
args = parse_args()

prerequisites = list_prerequisites(args.target, recursive=args.recursive, debug=args.debug)
Expand Down

0 comments on commit f2d4983

Please sign in to comment.