5 Commits

Author SHA1 Message Date
Sylvestre Ledru
5eedbfb0f0 update to 0.0.2 2023-03-08 22:56:08 +01:00
Sylvestre Ledru
dd95d78c93 document how to update a release 2023-03-08 22:55:59 +01:00
Sylvestre Ledru
78aedbbd3e adjust the URLs 2023-03-08 22:51:33 +01:00
Sylvestre Ledru
56233b6236 Fix the url to the action in the doc 2023-03-08 22:45:33 +01:00
Sylvestre Ledru
4c556aab0a Document the behavior without the version set 2023-03-08 22:02:23 +01:00
3 changed files with 24 additions and 7 deletions

View File

@@ -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
View File

@@ -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",

View File

@@ -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",