Skip to content

Commit

Permalink
ghact 0.2.0 with ogger
Browse files Browse the repository at this point in the history
  • Loading branch information
retog committed Apr 27, 2024
1 parent 15721c4 commit c599e12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx"
},
"imports": {
"ghact/": "https://deno.land/x/ghact@0.1.0/",
"ghact/": "https://deno.land/x/ghact@0.2.0/",
"std/": "https://deno.land/std@0.223.0/",
"preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.15.1/"
Expand Down
5 changes: 2 additions & 3 deletions src/action_worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ import GhactServiceWorker from "ghact/src/GhactServiceWorker.ts";
import GitRepository from "ghact/src/GitRepository.ts";
import { existsSync } from "./deps.ts";
import { config } from "../config/config.ts";
import { type Job } from "https://deno.land/x/ghact@0.0.1/src/JobsDataBase.ts";
import { type Job } from "ghact/src/JobsDataBase.ts";
import { gg2rdf } from "./gg2rdf.ts";

const GHTOKEN = Deno.env.get("GHTOKEN");
const log = console.log;

const worker = new GhactServiceWorker(self, config, (job: Job) => {
const worker = new GhactServiceWorker(self, config, (job: Job, log) => {
try {
log("Starting transformation\n" + JSON.stringify(job, undefined, 2));

Expand Down

0 comments on commit c599e12

Please sign in to comment.