Skip to content

Commit 86e0384

Browse files
committed
try debugging
1 parent 26c95a3 commit 86e0384

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/pants.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,16 @@ jobs:
5252

5353
- name: Set up environment variables for Pants (Docker) to use GHA Cache
5454
uses: actions/github-script@v8
55+
env:
56+
github-token: ${{ secrets.GITHUB_TOKEN }}
5557
with:
5658
script: |
57-
core.exportVariable("ACTIONS_RESULTS_URL", process.env.ACTIONS_CACHE_URL | "");
59+
core.exportVariable("ACTIONS_CACHE_URL", process.env.ACTIONS_CACHE_URL | "");
60+
core.exportVariable("ACTIONS_RESULTS_URL", process.env.ACTIONS_RESULTS_URL | "");
5861
core.exportVariable("ACTIONS_RUNTIME_TOKEN", process.env.ACTIONS_RUNTIME_TOKEN || "");
5962
core.exportVariable("ACTIONS_CACHE_SERVICE_V2", process.env.ACTIONS_CACHE_SERVICE_V2 || "");
60-
63+
- name: Try this
64+
uses: crazy-max/ghaction-github-runtime@v3
6165
- uses: pantsbuild/actions/init-pants@v9
6266
# This action bootstraps pants and manages 2-3 GHA caches.
6367
# See: github.com/pantsbuild/actions/tree/main/init-pants/
@@ -81,7 +85,11 @@ jobs:
8185
# Alternatively you change gha-cache-key to ignore old caches.
8286

8387
- name: Bootstrap Pants
84-
run: pants --version
88+
run: |
89+
pants --version
90+
echo "XXXXXX ACTIONS_CACHE_URL=$ACTIONS_CACHE_URL"
91+
echo "XXXXXX ACTIONS_RESULTS_URL=$ACTIONS_RESULTS_URL"
92+
echo "XXXXXX ACTIONS_CACHE_SERVICE_V2=$ACTIONS_CACHE_SERVICE_V2"
8593
8694
- name: Check Pants config files
8795
run: pants tailor --check update-build-files --check '::'

0 commit comments

Comments
 (0)