We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e29321 commit cc582c8Copy full SHA for cc582c8
src/swiftly/installers/linux.ts
@@ -1,8 +1,8 @@
1
import { machine } from "os";
2
import { addPath, debug, info } from "@actions/core";
3
import { downloadTool, find, extractTar, cacheDir } from "@actions/tool-cache";
4
-import { verify } from "../../core/gpg";
5
-import { cmd } from "../../core";
+import { setupKeys, verify } from "../../core/gpg";
+import { cmd, getOS } from "../../core";
6
7
interface Options {
8
/** Skip signature verification */
@@ -44,6 +44,8 @@ async function download({ skipVerifySignature = false }: Options = {}) {
44
if (skipVerifySignature) {
45
info("Skipping signature verification");
46
} else {
47
+ const os = await getOS();
48
+ await setupKeys(os);
49
await verify(signature, pkg);
50
}
51
0 commit comments