Skip to content
archive

GitHub Action

sccache action - speedup Rust GitHub actions

v1.0.1 Latest version

sccache action - speedup Rust GitHub actions

archive

sccache action - speedup Rust GitHub actions

A GitHub Action that speeds up Rust compilation with sccache

Installation

Copy and paste the following snippet into your .yml file.

              

- name: sccache action - speedup Rust GitHub actions

uses: visvirial/[email protected]

Learn more about this action in visvirial/sccache-action

Choose a version

sccache for GitHub Actions - speedup your Rust project build

This repository provides GitHub Actions which enables projects to cache the compiled ouotput using sccache.

Usage

- name: Configure sccache
  uses: visvirial/sccache-action@v1
  with:
    # Optional
    cache-key: sccache-ubuntu-latest
    # Optional
    release-name: latest
    # Optional
    arch: x86_64-unknown-linux-musl
  • The release-name parameter is the version name listed in sccache's release page.
  • The arch parameter is the string included in the binary release .tar.gz. For ubuntu, use "x86_64-unknown-linux-musl".