Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install failed: EOF when reading a line in blank GitHub Action #27

Open
thejcannon opened this issue Dec 28, 2023 · 0 comments
Open

Install failed: EOF when reading a line in blank GitHub Action #27

thejcannon opened this issue Dec 28, 2023 · 0 comments

Comments

@thejcannon
Copy link
Member

See https://github.com/pantsbuild/pantsbuild.org/actions/runs/7343898030/job/19995046003

Run PANTS_BOOTSTRAP_CACHE_KEY=$(PANTS_BOOTSTRAP_TOOLS=2 pants bootstrap-cache-key)
  PANTS_BOOTSTRAP_CACHE_KEY=$(PANTS_BOOTSTRAP_TOOLS=2 pants bootstrap-cache-key)
  if [[ "$OSTYPE" == "darwin"* ]]; then
    PANTS_BOOTSTRAP_CACHE_DIR="$HOME/Library/Caches/nce"
  else
    PANTS_BOOTSTRAP_CACHE_DIR="$HOME/.cache/nce"
  fi
  echo "pants_bootstrap_cache_key=$PANTS_BOOTSTRAP_CACHE_KEY" >> $GITHUB_OUTPUT
  echo "pants_bootstrap_cache_dir=$PANTS_BOOTSTRAP_CACHE_DIR" >> $GITHUB_OUTPUT
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
No Pants configuration was found at or above /home/runner/work/pantsbuild.org/pantsbuild.org.
Install failed: EOF when reading a line
...

I suspect $(PANTS_BOOTSTRAP_TOOLS=2 pants bootstrap-cache-key) doesn't like a missing pants.toml and not being interactive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant