File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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/
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 '::'
You can’t perform that action at this time.
0 commit comments