Skip to content

Commit 9fb942e

Browse files
committed
github storage: adjust the doc
1 parent 71b5aef commit 9fb942e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ The full url appears then as `redis://user:[email protected]:6379/?db=1`.
201201

202202
#### gha
203203

204-
* `SCCACHE_GHA_CACHE_URL` / `ACTIONS_CACHE_URL` GitHub Actions cache API URL
204+
* `SCCACHE_GHA_CACHE_URL` / `ACTIONS_RESULTS_URL` GitHub Actions cache API URL
205205
* `SCCACHE_GHA_RUNTIME_TOKEN` / `ACTIONS_RUNTIME_TOKEN` GitHub Actions access token
206206
* `SCCACHE_GHA_CACHE_TO` cache key to write
207207
* `SCCACHE_GHA_CACHE_FROM` comma separated list of cache keys to read from

docs/GHA.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ To use the [GitHub Actions cache](https://docs.github.com/en/actions/using-workf
44

55
By changing `SCCACHE_GHA_VERSION`, we can purge all the cache.
66

7-
This cache type will need tokens like `ACTIONS_CACHE_URL` and `ACTIONS_RUNTIME_TOKEN` to work. You can set these environmental variables using the following step in a GitHub Actions workflow.
7+
This cache type will need tokens like `ACTIONS_RESULTS_URL` and `ACTIONS_RUNTIME_TOKEN` to work. You can set these environmental variables using the following step in a GitHub Actions workflow.
88

99
```yaml
1010
- name: Configure sccache
1111
uses: actions/github-script@v7
1212
with:
1313
script: |
14-
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
14+
core.exportVariable('ACTIONS_RESULTS_URL', process.env.ACTIONS_RESULTS_URL || '');
1515
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
1616
```
1717

0 commit comments

Comments
 (0)