import * as core from '@actions/core' ; import * as workspace from './workspace' ; import * as coursier from './coursier' ; /**
 * Performs a cleanup of all the artifacts/folders created by this action.
 */ async function post ( ) { try { await workspace . remove ( ) ; core . info ( '🗑 Scala Steward\'s workspace removed' ) ; await coursier . remove ( ) ; core . info ( '🗑 Coursier binary removed' ) ; } catch ( error ) { core . warning ( ( error as Error ) . message ) ; } } void post ( ) ;