aint pretty but it works

This commit is contained in:
Ethan Arrowood 2022-05-02 16:05:31 -06:00
parent 1e2990d3cd
commit 9ca6fa06b4
No known key found for this signature in database
GPG key ID: ED811E6BC98E8742
3 changed files with 14 additions and 6 deletions

3
dist/setup/index.js vendored
View file

@ -6517,10 +6517,9 @@ function run() {
if (registryUrl) {
auth.configAuthentication(registryUrl, alwaysAuth);
}
core.info('here');
if (cache && cache_utils_1.isCacheFeatureAvailable()) {
core.info('here');
if (semver_1.default.gte(version, '14.19.0')) {
core.info('here');
try {
core.info(yield cache_utils_1.getCommandOutput('corepack enable'));
}