Skip to content

Commit

Permalink
Add maven to cache paths
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Oct 2, 2024
1 parent d0176d6 commit bfd04bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion actions/josm_plugin_dependencies/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78354,7 +78354,7 @@ async function dependencies(pluginDir) {
await (0,cache.restoreCache)(["~/.ivy2/cache", "~/.ant/cache", "josm/core/tools"], `${process.platform}-${process.arch}-ivy-${await (0,glob.hashFiles)("josm/core/**/ivy.xml")}`);
await (0,core.group)("Tool dependencies", async () => {
const coreTools = (0,external_path_.join)("josm", "plugins", "00_core_tools");
const corePaths = ["~/.ivy2/cache", "~/.ant/cache"];
const corePaths = ["~/.ivy2/cache", "~/.ant/cache", "~/.m2/repository"];
const coreKey = await (0,glob.hashFiles)((0,external_path_.join)(coreTools, "ivy.xml"));
if ((await (0,cache.restoreCache)(corePaths, coreKey)) == null) {
await (0,exec.exec)("ant", [
Expand Down
2 changes: 1 addition & 1 deletion actions/josm_plugin_dependencies/dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion actions/josm_plugin_dependencies/src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function dependencies(pluginDir: string): Promise<void> {
);
await group("Tool dependencies", async () => {
const coreTools = join("josm", "plugins", "00_core_tools");
const corePaths = ["~/.ivy2/cache", "~/.ant/cache"];
const corePaths = ["~/.ivy2/cache", "~/.ant/cache", "~/.m2/repository"];
const coreKey = await hashFiles(join(coreTools, "ivy.xml"));
if ((await restoreCache(corePaths, coreKey)) == null) {
await exec("ant", [
Expand Down

0 comments on commit bfd04bd

Please sign in to comment.