Remove install-output.json
(#28)
This commit is contained in:
parent
97e52c626f
commit
70bb221e37
3201
dist/cache-save.js
vendored
3201
dist/cache-save.js
vendored
File diff suppressed because one or more lines are too long
5493
dist/setup-pdm.js
vendored
5493
dist/setup-pdm.js
vendored
File diff suppressed because one or more lines are too long
@ -2,6 +2,7 @@ import * as os from 'os';
|
||||
import path from 'path';
|
||||
import * as core from '@actions/core';
|
||||
import { exec } from '@actions/exec';
|
||||
import { promises as fs } from 'fs';
|
||||
import { IS_WINDOWS } from 'setup-python/src/utils';
|
||||
import semParse from 'semver/functions/parse';
|
||||
import * as utils from './utils';
|
||||
@ -60,6 +61,7 @@ async function run(): Promise<void> {
|
||||
if (utils.isCacheAvailable()) {
|
||||
await cacheDependencies(installOutput.pdm_bin, installedPython);
|
||||
}
|
||||
await fs.rm('install-output.json')
|
||||
} catch (error: any) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user