From 65cbdadcc165cff0b11853aab4d70ec1f69ad270 Mon Sep 17 00:00:00 2001 From: acocalypso Date: Mon, 29 Apr 2024 23:32:01 +0200 Subject: [PATCH] test --- .github/workflows/build.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c693a8d..4286e92a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,3 @@ -# Your existing workflow file with modifications for environment files - name: 'build' on: @@ -43,15 +41,10 @@ jobs: echo "python3 -m http.server" > Dwarfium/start_server.bat zip -r Dwarfium.zip Dwarfium - # Set the version number based on the platform - name: Get version number from package.json id: get_version run: | - if [ ${{ matrix.platform }} == 'windows-latest' ]; then - echo "VERSION=$(node -e 'console.log(require("./package.json").version)')" >> $GITHUB_ENV - else - echo "::set-env name=VERSION::$(node -e 'console.log(require(\"./package.json\").version)')" - fi + echo "VERSION=$(node -e 'console.log(require(\"./package.json\").version)')" >> $GITHUB_ENV - name: Create artifact Dwarfium if: matrix.platform == 'ubuntu-20.04'