Skip to content

Commit

Permalink
👷🚜👣
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyd committed Nov 26, 2024
1 parent bf7330f commit d6001cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions www/tasks/publish-matrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,14 @@ await main(function* () {
`matrix=${JSON.stringify({ include })}`,
].join("\n");

console.log(outputValue);

if (Deno.env.has("GITHUB_OUTPUT")) {
const githubOutput = Deno.env.get("GITHUB_OUTPUT") as string;
yield* call(() =>
Deno.writeTextFile(githubOutput, outputValue, {
append: true,
})
);
} else {
// for local dev
console.log(outputValue);
}
});

0 comments on commit d6001cc

Please sign in to comment.