mirror of
https://github.com/mtkennerly/dunamai-action.git
synced 2025-06-20 22:31:08 +00:00
Use matrix for CI
This commit is contained in:
parent
9673b0868c
commit
16ba39f59a
3 changed files with 18 additions and 8 deletions
|
@ -1,12 +1,12 @@
|
|||
const core = require("@actions/core");
|
||||
const { execSync } = require("child_process");
|
||||
import * as core from "@actions/core";
|
||||
import { execSync } from "child_process";
|
||||
|
||||
function runCommand(command: string): Buffer {
|
||||
console.log(`Running command: ${command}`);
|
||||
return execSync(command);
|
||||
}
|
||||
|
||||
function main() {
|
||||
function main(): void {
|
||||
const install = core.getInput("install");
|
||||
const envVar = core.getInput("env-var");
|
||||
const command = core.getInput("command");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue