mirror of
https://github.com/mozilla-actions/sccache-action
synced 2026-09-14 20:13:56 +00:00
Simplify the checksum check code a bit (#29)
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-2
@@ -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