mirror of
https://github.com/Mozilla-Actions/sccache-action.git
synced 2026-04-18 19:22:35 +08:00
Simplify the checksum check code a bit (#29)
This commit is contained in:
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -65,9 +65,8 @@ async function setup() {
|
|||||||
if (calculatedChecksum !== providedChecksum) {
|
if (calculatedChecksum !== providedChecksum) {
|
||||||
core.setFailed('Checksum verification failed');
|
core.setFailed('Checksum verification failed');
|
||||||
return;
|
return;
|
||||||
} else {
|
|
||||||
core.info(`Correct checksum: ${calculatedChecksum}`);
|
|
||||||
}
|
}
|
||||||
|
core.info(`Correct checksum: ${calculatedChecksum}`);
|
||||||
|
|
||||||
let sccachePath;
|
let sccachePath;
|
||||||
if (getExtension() == 'zip') {
|
if (getExtension() == 'zip') {
|
||||||
|
|||||||
Reference in New Issue
Block a user