Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bassman2 committed Dec 29, 2024
1 parent 5a5840c commit c437457
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ on:
branches: [main,]
pull_request:
branches: [main]

env:
Solution: main/${{ github.event.repository.name }}.sln
IsWindows: ${{ matrix.os == 'windows-latest' }}

jobs:
build:
strategy:
Expand All @@ -15,10 +18,7 @@ jobs:
name: Build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: sign
env:
Solution: main/${{ github.event.repository.name }}.sln
IsWindows: ${{ matrix.os == 'windows-latest' }}


steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
if: ${{ matrix.os == 'windows-latest' }}

- name: Remove windows projects
run: dotnet sln $env:Solution remove main/Demo/*/*.csproj
run: dotnet sln ain/${{ github.event.repository.name }}.sln remove main/Demo/*/*.csproj

- name: Restore dependencies
run: dotnet restore $env:Solution
Expand Down

0 comments on commit c437457

Please # to comment.