Skip to content

Commit a1958c0

Browse files
committed
fix: remove deprecated setOutput
1 parent 4e382d5 commit a1958c0

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

dist/node12/setup_cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/node12/setup_cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/node16/setup_cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/node16/setup_cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint": "run-p --aggregate-output --continue-on-error lint.cspell lint.eslint lint.prettier lint.tsc",
3232
"lint.cspell": "cspell lint --no-progress --show-suggestions --cache --cache-location ./.cache/cspell/.cspellcache",
3333
"lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix",
34-
"lint.prettier": "prettier --write .",
34+
"lint.prettier": "prettier --list-different --write .",
3535
"lint.tsc": "tsc --noEmit",
3636
"pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && ts-node --esm ./dev/scripts/pack-exe.ts",
3737
"prepare": "pnpm run -r build && pnpm run -w build",

src/llvm/llvm_url.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import semverLte from "semver/functions/lte"
22
import { isUrlOnline } from "is-url-online"
33
import { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from "../utils/setup/version"
4-
import { warning } from "ci-log"
4+
import { info, warning } from "ci-log"
55
import { PackageInfo } from "../utils/setup/setupBin"
6-
import { setOutput } from "@actions/core"
76
import { addExeExt } from "patha"
87
import { extractExe, extractTarByExe } from "../utils/setup/extract"
98

@@ -260,7 +259,7 @@ export async function getLLVMPackageInfo(
260259
_arch: string
261260
): Promise<PackageInfo> {
262261
const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)
263-
setOutput("llvm", specificVersion)
262+
info(`specific llvm version: ${specificVersion}`)
264263
return {
265264
url,
266265
extractedFolderName: "",

0 commit comments

Comments
 (0)