Skip to content

Commit

Permalink
Force CI to only run on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamparter authored Dec 15, 2024
1 parent 7c3ac27 commit 7f8bb74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:
name: Build
runs-on: matrix.os
runs-on: windows-latest

strategy:
matrix:
Expand All @@ -18,7 +18,7 @@ jobs:
- Riverside.Markup.CompilerServices
- Riverside.Markup.InteropServices
# Add more projects here as needed
os: [windows-latest, ubuntu-latest]
#os: [windows-latest, ubuntu-latest]

outputs:
normalized_name: ${{ steps.normalize_name.outputs.normalized_name }}
Expand All @@ -39,14 +39,14 @@ jobs:
run: dotnet build src/${{ matrix.project }}/${{ matrix.project }}.csproj --configuration Release --no-restore

- name: Build project (Windows)
if: matrix.os == 'windows-latest'
#if: matrix.os == 'windows-latest'
run: dotnet build src/Riverside.Markup.Controls/Riverside.Markup.Controls.csproj --configuration Release --no-restore

- name: Pack project
run: dotnet pack src/${{ matrix.project }}/${{ matrix.project }}.csproj --configuration Release --no-build -o ./output

- name: Pack project (Windows)
if: matrix.os == 'windows-latest'
#if: matrix.os == 'windows-latest'
run: dotnet pack src/Riverside.Markup.Controls/Riverside.Markup.Controls.csproj --configuration Release --no-build -o ./output

- name: Normalize project name
Expand Down

0 comments on commit 7f8bb74

Please sign in to comment.