Skip to content

Commit a0c441c

Browse files
virtualdcompnerd
authored andcommitted
Update windows (hendrikmuhs#180)
* Update sccache to 0.7.6 * Update ccache on Windows to 4.9
1 parent 5cc60bc commit a0c441c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

dist/restore/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82911,20 +82911,20 @@ async function installCcacheLinux() {
8291182911
throw Error("Can't install ccache automatically under this platform, please install it yourself before using this action.");
8291282912
}
8291382913
async function installCcacheWindows() {
82914-
await installCcacheFromGitHub("4.7.4", "windows-x86_64",
82914+
await installCcacheFromGitHub("4.9", "windows-x86_64",
8291582915
// sha256sum of ccache.exe
82916-
"ac5918ea5df06d4cd2f2ca085955d29fe2a161f229e7cdf958dcf3e8fd5fe80e",
82916+
"cf18d274a54b49dcd77f6c289c26eeb89d180cb8329711e607478ed5ef74918c",
8291782917
// TODO find a better place
8291882918
`${external_process_namespaceObject.env.USERPROFILE}\\.cargo\\bin`, "ccache.exe");
8291982919
}
8292082920
async function installSccacheMac() {
8292182921
await execBash("brew install sccache");
8292282922
}
8292382923
async function installSccacheLinux() {
82924-
await installSccacheFromGitHub("v0.7.4", "x86_64-unknown-linux-musl", "5022d140adae985c0ad018667797aec03f7fe24781c848f770d1a52fbab02057", "/usr/local/bin/", "sccache");
82924+
await installSccacheFromGitHub("v0.7.6", "x86_64-unknown-linux-musl", "59793c3b6ac65f2f3b7e3f20f93192c705838335f44a175e1f6767132016a1f6", "/usr/local/bin/", "sccache");
8292582925
}
8292682926
async function installSccacheWindows() {
82927-
await installSccacheFromGitHub("v0.7.4", "x86_64-pc-windows-msvc", "820d60f1a5e6bf9aa2a39d9cfd54be45ede019067b7e5d9cb22fc27dc332611f",
82927+
await installSccacheFromGitHub("v0.7.6", "x86_64-pc-windows-msvc", "48e88be2ba87dca8d74364f045894ec214b6c850e65e61ab44e5071055c9e6d3",
8292882928
// TODO find a better place
8292982929
`${external_process_namespaceObject.env.USERPROFILE}\\.cargo\\bin`, "sccache.exe");
8293082930
}

src/restore.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ async function installCcacheLinux() : Promise<void> {
9393

9494
async function installCcacheWindows() : Promise<void> {
9595
await installCcacheFromGitHub(
96-
"4.7.4",
96+
"4.9",
9797
"windows-x86_64",
9898
// sha256sum of ccache.exe
99-
"ac5918ea5df06d4cd2f2ca085955d29fe2a161f229e7cdf958dcf3e8fd5fe80e",
99+
"cf18d274a54b49dcd77f6c289c26eeb89d180cb8329711e607478ed5ef74918c",
100100
// TODO find a better place
101101
`${process.env.USERPROFILE}\\.cargo\\bin`,
102102
"ccache.exe"
@@ -109,19 +109,19 @@ async function installSccacheMac() : Promise<void> {
109109

110110
async function installSccacheLinux() : Promise<void> {
111111
await installSccacheFromGitHub(
112-
"v0.7.4",
112+
"v0.7.6",
113113
"x86_64-unknown-linux-musl",
114-
"5022d140adae985c0ad018667797aec03f7fe24781c848f770d1a52fbab02057",
114+
"59793c3b6ac65f2f3b7e3f20f93192c705838335f44a175e1f6767132016a1f6",
115115
"/usr/local/bin/",
116116
"sccache"
117117
);
118118
}
119119

120120
async function installSccacheWindows() : Promise<void> {
121121
await installSccacheFromGitHub(
122-
"v0.7.4",
122+
"v0.7.6",
123123
"x86_64-pc-windows-msvc",
124-
"820d60f1a5e6bf9aa2a39d9cfd54be45ede019067b7e5d9cb22fc27dc332611f",
124+
"48e88be2ba87dca8d74364f045894ec214b6c850e65e61ab44e5071055c9e6d3",
125125
// TODO find a better place
126126
`${process.env.USERPROFILE}\\.cargo\\bin`,
127127
"sccache.exe"

0 commit comments

Comments
 (0)