feat: add optional verified Dart Sass installation (#769)

This commit is contained in:
Shohei Ueda
2026-11-16 15:57:38 +09:00
committed by GitHub
parent e4550112cd
commit c02355f4df
11 changed files with 647 additions and 1 deletions
+2
View File
@@ -3,6 +3,7 @@ import * as exec from '@actions/exec';
import {getLatestVersion} from './get-latest-version';
import {installer} from './installer';
import {Tool} from './constants';
import {installDartSass} from './install-dart-sass';
export interface ActionResult {
exitcode: number;
@@ -47,6 +48,7 @@ export async function run(): Promise<ActionResult> {
core.info(`${Tool.Name} version: ${installVersion}`);
await installer(installVersion);
await installDartSass(core.getInput('dart-sass-version'), core.getInput('github-token'));
result = await showVersion(Tool.CmdName, [Tool.CmdOptVersion]);
return result;