mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-12 02:56:54 +08:00
Update dependencies (#133)
* Use `fs.rmSync` instead of `fs.rmdirSync`. To get rid of the deprecation warning. #119 * Update dependencies.
This commit is contained in:
@@ -76,7 +76,7 @@ async function run() {
|
||||
core.debug(`added Julia to cache: ${juliaPath}`)
|
||||
|
||||
// Remove temporary dir
|
||||
fs.rmdirSync(juliaInstallationPath, {recursive: true})
|
||||
fs.rmSync(juliaInstallationPath, {recursive: true})
|
||||
} else {
|
||||
core.debug(`using cached version of Julia: ${juliaPath}`)
|
||||
}
|
||||
@@ -91,7 +91,7 @@ async function run() {
|
||||
const showVersionInfoInput = core.getInput('show-versioninfo')
|
||||
await installer.showVersionInfo(showVersionInfoInput, version)
|
||||
} catch (error) {
|
||||
core.setFailed(error.message)
|
||||
core.setFailed((error as Error).message)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user