mirror of
https://github.com/Mozilla-Actions/sccache-action.git
synced 2026-04-16 19:02:35 +08:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5eedbfb0f0 | ||
|
|
dd95d78c93 | ||
|
|
78aedbbd3e | ||
|
|
56233b6236 | ||
|
|
4c556aab0a |
19
README.md
19
README.md
@@ -9,16 +9,33 @@ The [sccache](https://github.com/mozilla/sccache/
|
||||
Just copy and paste the following in your GitHub action:
|
||||
|
||||
```
|
||||
# Using the latest version of sccache
|
||||
- name: Run sccache-cache
|
||||
uses: mozilla/sccache-action@v0.0.1
|
||||
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
|
||||
1. Update version in `package.json`
|
||||
1. Run `npm i --package-lock-only`
|
||||
1. Tag a new release
|
||||
|
||||
## License
|
||||
|
||||
Apache-2.0 (just like sccache)
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "sccache-action",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "sccache-action",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sccache-action",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"description": "Github Action for Sccache",
|
||||
"main": "dist/setup/index.js",
|
||||
"scripts": {
|
||||
@@ -13,7 +13,7 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/mozilla/sccache-action.git"
|
||||
"url": "git+https://github.com/mozilla-actions/sccache-action.git"
|
||||
},
|
||||
"keywords": [
|
||||
"sccache"
|
||||
@@ -21,9 +21,9 @@
|
||||
"author": "",
|
||||
"license": "Apache-2.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mozilla/sccache-action/issues"
|
||||
"url": "https://github.com/mozilla-actions/sccache-action/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mozilla/sccache-action#readme",
|
||||
"homepage": "https://github.com/mozilla-actions/sccache-action#readme",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.0",
|
||||
"@actions/io": "^1.1.2",
|
||||
|
||||
Reference in New Issue
Block a user