From cedc4fd539f9457531d5c7afb9f6722d463dbc52 Mon Sep 17 00:00:00 2001 From: iadgovuser29 <33426478+iadgovuser29@users.noreply.github.com> Date: Fri, 12 Apr 2024 14:25:37 -0400 Subject: [PATCH] Problems with actions --- .github/workflows/dotnet-build-hardwaremanifest.yml | 10 ++++++---- .github/workflows/dotnet-build-paccor_scripts.yml | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dotnet-build-hardwaremanifest.yml b/.github/workflows/dotnet-build-hardwaremanifest.yml index 870e9d3..7dec35d 100644 --- a/.github/workflows/dotnet-build-hardwaremanifest.yml +++ b/.github/workflows/dotnet-build-hardwaremanifest.yml @@ -5,8 +5,10 @@ on: jobs: build: - - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Setup .NET @@ -18,10 +20,10 @@ jobs: run: dotnet restore - name: Build working-directory: dotnet/HardwareManifestPlugin - run: dotnet build + run: dotnet build --no-restore - name: Test working-directory: dotnet/HardwareManifestPlugin - run: dotnet test + run: dotnet test --no-build - name: Pack working-directory: dotnet/HardwareManifestPlugin run: dotnet pack \ No newline at end of file diff --git a/.github/workflows/dotnet-build-paccor_scripts.yml b/.github/workflows/dotnet-build-paccor_scripts.yml index c702cad..a4ad13e 100644 --- a/.github/workflows/dotnet-build-paccor_scripts.yml +++ b/.github/workflows/dotnet-build-paccor_scripts.yml @@ -5,8 +5,10 @@ on: jobs: build: - - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Setup .NET @@ -18,10 +20,10 @@ jobs: run: dotnet restore - name: Build working-directory: dotnet/paccor_scripts - run: dotnet build + run: dotnet build --no-restore - name: Test working-directory: dotnet/paccor_scripts - run: dotnet test + run: dotnet test --no-build - name: Pack working-directory: dotnet/paccor_scripts run: dotnet pack