Skip to content

Commit

Permalink
fix: Bump the toolchain cache key.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Dec 6, 2023
1 parent ace7744 commit 58d4b7f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.2.1

- Support proto v0.24 changes.

# 0.2.0

- Added a `cache` input to toggle caching of the toolchain. Defaults to true.
Expand Down
3 changes: 2 additions & 1 deletion helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export function isUsingMoon() {
}

export function getCacheKeyPrefix() {
return 'moonrepo-toolchain-v1';
// v1 - Before proto v0.24 changes
return 'moonrepo-toolchain-v2';
}

export async function getToolchainCacheKey() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@moonrepo/setup-toolchain",
"version": "0.2.0",
"version": "0.2.1",
"description": "A GitHub action to setup and cache the proto and moon toolchains.",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 58d4b7f

Please sign in to comment.