rust sccache
ActionsTags
(2)The action sets up sccache for Rust modules.
| Name | Description | Default |
|---|---|---|
| version | The version of sccache to use | v0.3.1 |
| key | An additional key for the cache | empty |
| shared-key | An additional key that is stable over multiple jobs | empty |
| skip-save | If set to true, it will use the cache in read-only mode | false |
| autoclean | If set to true, it will use cargo-cache to clean the cache before saving | false |
| Name | Description | Example |
|---|---|---|
| CACHE_SKIP_SAVE | If set to true, it will use the cache in read-only mode | true |
| SCCACHE_DIR | The path where the sccache should be set up on the runner | ${{ github.workspace }}/.cache/sccache |
| SCCACHE_CACHE_SIZE | The sccache max size limit | 2G |
| Name | Description |
|---|---|
| cache-hit | A boolean value to indicate an exact match was found for the key. |
| cache-primary-key | Cache primary key passed in the input to use in subsequent steps of the workflow. |
| cache-matched-key | Key of the cache that was restored, it could either be the primary key on cache-hit or a partial/complete match of one of the restore keys. |
See actions/cache and mozilla/sccache for a full list of configuration options through environmental variables.
rust sccache is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.