Skip to content

Commit 58d4b7f

Browse files
committed
fix: Bump the toolchain cache key.
1 parent ace7744 commit 58d4b7f

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.2.1
2+
3+
- Support proto v0.24 changes.
4+
15
# 0.2.0
26

37
- Added a `cache` input to toggle caching of the toolchain. Defaults to true.

helpers.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ export function isUsingMoon() {
5050
}
5151

5252
export function getCacheKeyPrefix() {
53-
return 'moonrepo-toolchain-v1';
53+
// v1 - Before proto v0.24 changes
54+
return 'moonrepo-toolchain-v2';
5455
}
5556

5657
export async function getToolchainCacheKey() {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@moonrepo/setup-toolchain",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "A GitHub action to setup and cache the proto and moon toolchains.",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)