mirror of
https://github.com/actions/setup-python.git
synced 2026-03-25 08:01:02 +00:00
style: run prettier on cache-save.ts
This commit is contained in:
parent
8a88e9f333
commit
b5284171bb
@ -11,7 +11,9 @@ export async function run(earlyExit?: boolean) {
|
|||||||
try {
|
try {
|
||||||
const cacheWriteEnabled = core.getInput('cache-write');
|
const cacheWriteEnabled = core.getInput('cache-write');
|
||||||
if (cacheWriteEnabled === 'false') {
|
if (cacheWriteEnabled === 'false') {
|
||||||
core.info('Cache write is disabled (read-only mode). Skipping cache save.');
|
core.info(
|
||||||
|
'Cache write is disabled (read-only mode). Skipping cache save.'
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user