import * as core from '@actions/core' ; import { getBinary } from './install' ; export const PRODUCT_NAME = 'waypoint' ; export async function run ( ) { try { const version = core . getInput ( 'version' ) ; const path = await getBinary ( PRODUCT_NAME , version ) ; core . addPath ( path ) ; } catch ( error ) { core . setFailed ( error . message ) ; } } run ( ) ;