mirror of
https://github.com/Mozilla-Actions/sccache-action.git
synced 2026-04-08 17:42:13 +08:00
dd95d78c938e939c36ac41e6af6edbb12764ca61
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.1
# Specify a given version of sccache
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.1
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
- Update README.md in the examplee
- Update version in
package.json - Run
npm i --package-lock-only - Tag a new release
License
Apache-2.0 (just like sccache)
Description
Languages
TypeScript
100%