From 5de14428928e2b185f732a4324ea2b727fadd41e Mon Sep 17 00:00:00 2001 From: agracio Date: Tue, 17 Sep 2024 20:50:35 +0100 Subject: [PATCH] updating GitHub pipeline --- .github/workflows/build.yml | 1 + .github/workflows/main.yml | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d78f118..b45a0a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,7 @@ on: env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true # required to setup CSC DOTNET_CLI_TELEMETRY_OPTOUT: 1 + DOTNET_NOLOGO: 1 jobs: build: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b4eb4e..675db3e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,6 +34,7 @@ on: env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true # required to setup CSC DOTNET_CLI_TELEMETRY_OPTOUT: 1 + DOTNET_NOLOGO: 1 jobs: test: @@ -41,7 +42,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-13, macos-14, ubuntu-22.04, windows-2022] + os: [macos-14, ubuntu-22.04, windows-2022] # os: [ windows-2022, ubuntu-22.04] electron: [30.5.1] # electron: [29.4.6, 30.5.1, 31.6.0] @@ -67,6 +68,21 @@ jobs: fail: true ignore_case: true + - name: Read package.json + uses: actions/github-script@v7 + with: + result-encoding: string + script: | + try { + const fs = require('fs') + const jsonString = fs.readFileSync('package.json') + var json = JSON.parse(jsonString); + console.log(json.devDependencies) + } catch(err) { + core.error("Error while reading or parsing package.json") + core.setFailed(err) + } + - if: runner.os == 'Windows' name: Run Windows tests uses: ./.github/actions/test-windows