Skip to content

Commit 7d986dd

Browse files
authored
Merge pull request #192 from sylvestre/release
prepare release 0.0.9 + force github action 2
2 parents 65101d4 + c3f03b4 commit 7d986dd

File tree

6 files changed

+21
-18
lines changed

6 files changed

+21
-18
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ Just copy and paste the following in your GitHub action:
1616

1717
```
1818
- name: Run sccache-cache
19-
uses: mozilla-actions/[email protected].8
19+
uses: mozilla-actions/[email protected].9
2020
```
2121

2222
### Conditionally run cache and enable it
2323

2424
```
2525
- name: Run sccache-cache only on non-release runs
2626
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
27-
uses: mozilla-actions/[email protected].8
27+
uses: mozilla-actions/[email protected].9
2828
- name: Set Rust caching env vars only on non-release runs
2929
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
3030
run: |
@@ -38,7 +38,7 @@ Versions prior to sccache v0.10.0 probably will not work.
3838

3939
```
4040
- name: Run sccache-cache
41-
uses: mozilla-actions/[email protected].8
41+
uses: mozilla-actions/[email protected].9
4242
with:
4343
version: "v0.10.0"
4444
```
@@ -103,7 +103,7 @@ When using the action on GitHub Enterprise Server installations a valid GitHub.c
103103

104104
```
105105
- name: Run sccache-cache
106-
uses: mozilla-actions/[email protected].8
106+
uses: mozilla-actions/[email protected].9
107107
with:
108108
token: ${{ secrets.MY_GITHUB_TOKEN }}
109109
```

dist/setup/index.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/show_stats/index.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sccache-action",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"description": "Github Action for Sccache",
55
"main": "dist/setup/index.js",
66
"engines": {
@@ -45,7 +45,7 @@
4545
"eslint-plugin-prettier": "^5.2.3",
4646
"jest": "^29.7.0",
4747
"jest-circus": "^29.7.0",
48-
"prettier": "^3.4.2",
48+
"prettier": "^3.5.3",
4949
"ts-jest": "^29.2.6",
5050
"typescript": "^5.7.2"
5151
}

src/setup.ts

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ async function setup() {
6666
// Expose the sccache path as env.
6767
core.exportVariable('SCCACHE_PATH', `${sccacheHome}/sccache`);
6868

69+
// Force the github action v2
70+
core.exportVariable('ACTIONS_CACHE_SERVICE_V2', `on`);
71+
6972
// Expose the gha cache related variable to make it easier for users to
7073
// integrate with gha support.
7174
core.exportVariable(

0 commit comments

Comments
 (0)