From f1e683bd0852c6eb42225784afed8e0e26f628d8 Mon Sep 17 00:00:00 2001 From: acocalypso Date: Tue, 30 Apr 2024 00:09:06 +0200 Subject: [PATCH] correct synthax --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 912a7e9..a4e250c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: id: get_version run: | if [ ${{ matrix.platform }} = 'ubuntu-20.04' ] || [ ${{ matrix.platform }} = 'macOSlatest' ] || [ ${{ matrix.platform }} = 'macos-13' ]; then - echo "VERSION=$(node -e 'console.log(require(\"./package.json\").version)')" >> $GITHUB_OUTPUT + echo "VERSION=$(node -e 'console.log(require("./package.json").version)')" >> $GITHUB_OUTPUT elif [ ${{ matrix.platform }} = 'windows-latest' ]; then $version = Get-Content -Path './package.json' -Raw | ConvertFrom-Json | Select-Object -ExpandProperty version echo "VERSION=$version" >> $GITHUB_OUTPUT