mirror of
https://github.com/actions/setup-python.git
synced 2026-03-19 23:50:24 +08:00
style: run prettier on cache-save.ts
This commit is contained in:
parent
8a88e9f333
commit
b5284171bb
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue