Merge pull request #172 from sylvestre/0.0.7

0.0.7
This commit is contained in:
Sylvestre Ledru
2024-12-12 13:37:12 +01:00
committed by GitHub
5 changed files with 21 additions and 20 deletions
+5 -4
View File
@@ -16,7 +16,7 @@ Just copy and paste the following in your GitHub action:
``` ```
- name: Run sccache-cache - name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.6 uses: mozilla-actions/sccache-action@v0.0.7
``` ```
### Conditionally run cache and enable it ### Conditionally run cache and enable it
@@ -24,7 +24,7 @@ Just copy and paste the following in your GitHub action:
``` ```
- name: Run sccache-cache only on non-release runs - name: Run sccache-cache only on non-release runs
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch' if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
uses: mozilla-actions/sccache-action@v0.0.6 uses: mozilla-actions/sccache-action@v0.0.7
- name: Set Rust caching env vars only on non-release runs - name: Set Rust caching env vars only on non-release runs
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch' if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
run: | run: |
@@ -36,7 +36,7 @@ Just copy and paste the following in your GitHub action:
``` ```
- name: Run sccache-cache - name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.6 uses: mozilla-actions/sccache-action@v0.0.7
with: with:
version: "v0.7.4" version: "v0.7.4"
``` ```
@@ -101,7 +101,7 @@ When using the action on GitHub Enterprise Server installations a valid GitHub.c
``` ```
- name: Run sccache-cache - name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.6 uses: mozilla-actions/sccache-action@v0.0.7
with: with:
token: ${{ secrets.MY_GITHUB_TOKEN }} token: ${{ secrets.MY_GITHUB_TOKEN }}
``` ```
@@ -113,6 +113,7 @@ Note that using https://github.com/actions/create-github-app-token is a better o
1. Update the example in README.md 1. Update the example in README.md
1. Update version in `package.json` 1. Update version in `package.json`
1. Run `npm i --package-lock-only` 1. Run `npm i --package-lock-only`
1. Run `npm run build`
1. Commit and push the local changes 1. Commit and push the local changes
1. Tag a new release (vX.X.X) 1. Tag a new release (vX.X.X)
1. Create a new release in github 1. Create a new release in github
+3 -3
View File
File diff suppressed because one or more lines are too long
+3 -3
View File
File diff suppressed because one or more lines are too long
+9 -9
View File
@@ -1,12 +1,12 @@
{ {
"name": "sccache-action", "name": "sccache-action",
"version": "0.0.6", "version": "0.0.7",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "sccache-action", "name": "sccache-action",
"version": "0.0.6", "version": "0.0.7",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@actions/core": "^1.11.1", "@actions/core": "^1.11.1",
@@ -2551,9 +2551,9 @@
} }
}, },
"node_modules/cross-spawn": { "node_modules/cross-spawn": {
"version": "7.0.3", "version": "7.0.6",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"path-key": "^3.1.0", "path-key": "^3.1.0",
@@ -5108,12 +5108,12 @@
} }
}, },
"node_modules/micromatch": { "node_modules/micromatch": {
"version": "4.0.5", "version": "4.0.8",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
"integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"braces": "^3.0.2", "braces": "^3.0.3",
"picomatch": "^2.3.1" "picomatch": "^2.3.1"
}, },
"engines": { "engines": {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "sccache-action", "name": "sccache-action",
"version": "0.0.6", "version": "0.0.7",
"description": "Github Action for Sccache", "description": "Github Action for Sccache",
"main": "dist/setup/index.js", "main": "dist/setup/index.js",
"engines": { "engines": {