Skip to content

Commit 52414f3

Browse files
committed
try debugging
1 parent 26c95a3 commit 52414f3

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/pants.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,8 @@ jobs:
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/
@@ -82,7 +75,6 @@ jobs:
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

0 commit comments

Comments
 (0)