Refactor the filePath/filePattern handling

This commit is contained in:
Justin Hutchings
2023-01-20 01:23:57 +00:00
parent 0d7e77b330
commit 063ed2be4b
5 changed files with 7 additions and 138 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ import {
import CondaParser from './condaParser';
async function run() {
let manifests = CondaParser.getManifestsFromEnvironmentFiles(CondaParser.searchFiles());
let manifests = CondaParser.getManifestsFromEnvironmentFiles(
CondaParser.searchFiles(core.getInput('filePath'), core.getInput('filePattern')));
let snapshot = new Snapshot({
name: "conda-dependency-submission-action",