Skip to content

Commit

Permalink
fix: removed matrix inputs (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichielVanHerreweghe committed Jun 12, 2024
1 parent 0d2b285 commit 2c9c77d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/code-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
uses: ./.github/workflows/shared.build-dotnet.yml
11 changes: 2 additions & 9 deletions .github/workflows/shared.build-dotnet.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2c9c77d

Please sign in to comment.