File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 4949 uses : docker/setup-qemu-action@v3
5050 with :
5151 platforms : linux/amd64,linux/arm64
52-
53- - name : Set up environment variables for Pants (Docker) to use GHA Cache
54- uses : actions/github-script@v8
55- with :
56- script : |
57- core.exportVariable("ACTIONS_RESULTS_URL", process.env.ACTIONS_CACHE_URL | "");
58- core.exportVariable("ACTIONS_RUNTIME_TOKEN", process.env.ACTIONS_RUNTIME_TOKEN || "");
59- core.exportVariable("ACTIONS_CACHE_SERVICE_V2", process.env.ACTIONS_CACHE_SERVICE_V2 || "");
60-
52+ - name : Expose ACTIONS_* env vars to Pants, so it can use the GHA cache
53+ uses : crazy-max/ghaction-github-runtime@v3
6154 - uses : pantsbuild/actions/init-pants@v9
6255 # This action bootstraps pants and manages 2-3 GHA caches.
6356 # See: github.com/pantsbuild/actions/tree/main/init-pants/
8275
8376 - name : Bootstrap Pants
8477 run : pants --version
85-
8678 - name : Check Pants config files
8779 run : pants tailor --check update-build-files --check '::'
8880
You can’t perform that action at this time.
0 commit comments