mirror of
https://github.com/Mozilla-Actions/sccache-action.git
synced 2026-04-08 17:42:13 +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) {
|
||||
core.setFailed('Checksum verification failed');
|
||||
return;
|
||||
} else {
|
||||
core.info(`Correct checksum: ${calculatedChecksum}`);
|
||||
}
|
||||
core.info(`Correct checksum: ${calculatedChecksum}`);
|
||||
|
||||
let sccachePath;
|
||||
if (getExtension() == 'zip') {
|
||||
|
||||
Reference in New Issue
Block a user