This commit is contained in:
olemorud
2023-03-14 14:48:49 +01:00
parent fd580bda03
commit 47a6b397d9
4 changed files with 105 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
const path = require('path');
const fs = require('node:fs');
//const core = require('@actions/core');
const core = require('@actions/core');
// C:\Users\ => C\:\\Users\\
const escapeRegExp = (s) =>
@@ -13,8 +13,7 @@ const variable = (key) =>
// default value set in /action.yml
// const root = core.getInput('root', { required: false });
root = '/tmp/workspace';
const root = core.getInput('root', { required: false });
const templatePath = path.join(__dirname, "gcc_matcher.jsontemplate");