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 8139e4c commit ce66da6Copy full SHA for ce66da6
.github/workflows/cicd.yml
@@ -504,6 +504,15 @@ jobs:
504
}
505
506
507
+ func loadSignatures() -> [String: String] {
508
+ guard let data = try? Data(contentsOf: URL(fileURLWithPath: "dist/signatures.json")),
509
+ let signatures = try? JSONSerialization.jsonObject(with: data) as? [String: String] else {
510
+ print("⚠️ No signatures found")
511
+ return [:]
512
+ }
513
+ return signatures
514
515
+
516
// Fetch releases from GitHub API
517
let url = URL(string: "https://api.github.com/repos/${{ github.repository }}/releases")!
518
let task = URLSession.shared.dataTask(with: url) { data, response, error in
0 commit comments