UNPKG

convert-action

Version:

Update the runs.using and runs.main fields in a GitHub Actions action.yml file

11 lines (9 loc) 228 B
#!/usr/bin/env node const run = require("."); const args = process.argv.slice(2); if (args.length > 2) { throw new Error( "Usage: convert-action-to-node [compiled.js] [/path/to/action.yaml]" ); } run.apply(null, args);