Skip to content

Commit

Permalink
fix: updated action args names on main ts
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDiscotech committed Oct 24, 2023
1 parent e56c117 commit e40d93d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { ExportType } from './constants';
async function run(): Promise<void> {
try {
core.debug(`Parsing inputs`);
const outDir = core.getInput('out_dir');
const exportType = core.getInput('export_type') as ExportType;
const packageName = core.getInput('package_name');
const interfacesDir = core.getInput('interfaces_dir');
const contractsDir = core.getInput('contracts_dir') || '';
const outDir = core.getInput('out');
const interfacesDir = core.getInput('interfaces');
const contractsDir = core.getInput('contracts') || '';
const exportType = core.getInput('export_type') as ExportType;

if (!Object.values(ExportType).includes(exportType)) {
throw new Error(`Invalid input for export_type. Valid inputs are: ${Object.values(ExportType).join(', ')}`);
Expand Down

0 comments on commit e40d93d

Please sign in to comment.