chore(ci): Replace unmaintained actions-rs GH actions, closes #8078 (#8093)

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
Olivier Lemasle
2023-10-26 20:27:52 +02:00
committed by GitHub
parent 6bc3b0536d
commit 9ed400a85c
20 changed files with 93 additions and 395 deletions

View File

@@ -15,7 +15,7 @@ class PingArgs: Decodable {
class ExamplePlugin: Plugin {
@objc public func ping(_ invoke: Invoke) throws {
let args = try invoke.parseArgs(PingArgs.self)
args.onEvent?.send(["kind": "ping"])
try args.onEvent?.send(["kind": "ping"])
invoke.resolve(["value": args.value ?? ""])
}
}