From 2c9c77d09342719a2826a1061c066fac54c47e2e Mon Sep 17 00:00:00 2001 From: MichielVanHerreweghe <169037533+MichielVanHerreweghe@users.noreply.github.com> Date: Wed, 12 Jun 2024 09:23:59 +0200 Subject: [PATCH] fix: removed matrix inputs (#33) --- .github/workflows/code-ci.yml | 5 +---- .github/workflows/shared.build-dotnet.yml | 11 ++--------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/code-ci.yml b/.github/workflows/code-ci.yml index 4ba4d31..eceedff 100644 --- a/.github/workflows/code-ci.yml +++ b/.github/workflows/code-ci.yml @@ -13,7 +13,4 @@ permissions: jobs: build-project-code: name: Build Project Code - uses: ./.github/workflows/shared.build-dotnet.yml - with: - DOTNET_VERSIONS: '8.0.x' - OS: 'ubuntu-latest,windows-latest' \ No newline at end of file + uses: ./.github/workflows/shared.build-dotnet.yml \ No newline at end of file diff --git a/.github/workflows/shared.build-dotnet.yml b/.github/workflows/shared.build-dotnet.yml index af438c1..7c4bded 100644 --- a/.github/workflows/shared.build-dotnet.yml +++ b/.github/workflows/shared.build-dotnet.yml @@ -1,19 +1,12 @@ on: workflow_call: - inputs: - DOTNET_VERSIONS: - required: true - type: string - OS: - required: true - type: string jobs: build: strategy: matrix: - os: ${{ fromJson(inputs.OS) }} - dotnet-version: ${{ fromJson(inputs.DOTNET_VERSIONS) }} + os: [ubuntu-latest, windows-latest] + dotnet-version: ['8.0.x'] runs-on: ${{ matrix.os }} steps: - name: Checkout