Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
star

GitHub Action

Sccache Action

v0.0.2 Pre-release

Sccache Action

star

Sccache Action

Setup sccache action

Installation

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

              

- name: Sccache Action

uses: Mozilla-Actions/sccache-action@v0.0.2

Learn more about this action in Mozilla-Actions/sccache-action

Choose a version

sccache-action

The sccache action can be used in GitHub Actions workflows to integrate sccache into the build process. The sccache action is a step in a workflow that can be used to cache compilation results for subsequent builds, reducing the build time and speeding up the overall development process.

Usage

Just copy and paste the following in your GitHub action:

# Using the latest version of sccache
- name: Run sccache-cache
  uses: mozilla-actions/sccache-action@v0.0.2
# Specify a given version of sccache
- name: Run sccache-cache
  uses: mozilla-actions/sccache-action@v0.0.2
  with:
    version: "v0.3.3"
# To get the execution stats
- name: Run sccache stat for check
  shell: bash
  run: ${SCCACHE_PATH} --show-stats

Prepare a new release

  1. Update README.md in the examplee
  2. Update version in package.json
  3. Run npm i --package-lock-only
  4. Tag a new release

License

Apache-2.0 (just like sccache)