Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Commit 223d202

Browse files
authored
fix from (#2)
1 parent 63b78df commit 223d202

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Rust sccache'
1+
name: 'Rust Cache using sccache'
22
description: 'Use sccache in your CI for Rust builds'
33
author: 'MetalBear'
44
branding:

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6615,7 +6615,7 @@ function setCache(sccacheDirectory) {
66156615
core.exportVariable("ACTIONS_RUNTIME_TOKEN", process.env.ACTIONS_RUNTIME_TOKEN);
66166616
//todo: make this input
66176617
core.exportVariable("SCCACHE_GHA_CACHE_TO", "sccache");
6618-
core.exportVariable("SCCACHE_GHA_CACHE_TO", "sccache");
6618+
core.exportVariable("SCCACHE_GHA_CACHE_FROM", "sccache");
66196619
core.addPath(sccacheDirectory);
66206620
core.debug("Configured sccache!");
66216621
});

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async function setCache(sccacheDirectory: string): Promise<void> {
4040
);
4141
//todo: make this input
4242
core.exportVariable("SCCACHE_GHA_CACHE_TO", "sccache");
43-
core.exportVariable("SCCACHE_GHA_CACHE_TO", "sccache");
43+
core.exportVariable("SCCACHE_GHA_CACHE_FROM", "sccache");
4444
core.addPath(sccacheDirectory);
4545
core.debug("Configured sccache!");
4646
}

0 commit comments

Comments
 (0)