Been experimenting with pants GHA <https://github....
# general
r
Been experimenting with pants GHA https://github.com/pantsbuild/actions/tree/main I get this error when running in actions and not clear what's going on
Copy code
Run pantsbuild/actions/init-pants@v8
Run if ! command -v pants; then
  
Downloading and installing the pants launcher ...
Installed the pants launcher from <https://github.com/pantsbuild/scie-pants/releases/latest/download/scie-pants-linux-x86_64> to /home/runner/.local/bin/pants

Running `pants` in a Pants-enabled repo will use the version of Pants configured for that repo.
In a repo not yet Pants-enabled, it will prompt you to set up Pants for that repo.
Run PANTS_BOOTSTRAP_CACHE_KEY=$(PANTS_BOOTSTRAP_TOOLS=2 pants bootstrap-cache-key)
  
Run actions/cache@v4
  
Cache not found for input keys: pants-setup-python_distribution_hash=67912efc04f9156d8f5b48a0348983defb964de043b8c13ddc6cc8a002f8e691 pants_version=2.20.0rc2
Run actions/cache@v4
  
Cache not found for input keys: pants-named-caches-Linux-v0-24742be95e7b2a30a092370d264110ce2722aa8e32efa05116e5e88216eaf914-694fb7265b48cf2c9b69e6472cda1ef7da7044a5948e8ab54d57836568fe873b, pants-named-caches-Linux-v0-24742be95e7b2a30a092370d264110ce2722aa8e32efa05116e5e88216eaf914-, pants-named-caches-Linux-v0-
Run CACHECOMMIT=$(
  
gh: Not Found (HTTP 404)
Error: Process completed with exit code 1.
fixed by removing
cache-lmdb-store: 'true'
b
Hm, the error message suggests https://github.com/pantsbuild/actions/blob/d64f38147540d5607bfb8d812f95d5285a8cff3d/init-pants/action.yaml#L151-L154 is what's failing. Is it possible for you to try to construct the same command locally and see what happens?