Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iMrShadow authored Mar 19, 2024
1 parent 33e6da0 commit 47d8ce3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
GUI_PROJECT_PATH : 'DDS-D3DTX-Converter/DDS_D3DTX_Converter_GUI/DDS_D3DTX_Converter/DDS_D3DTX_Converter.csproj'

jobs:
build:
Expand All @@ -21,10 +24,8 @@ jobs:
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
working-directory: DDS-D3DTX-Converter/DDS_D3DTX_Converter_GUI/DDS_D3DTX_Converter
run: dotnet restore ${{env.GUI_PROJECT_PATH}}
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: DDS-D3DTX-Converter/DDS_D3DTX_Converter_GUI/DDS_D3DTX_Converter
run: dotnet build ${{env.GUI_PROJECT_PATH}} --configuration Release --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test ${{env.GUI_PROJECT_PATH}} --no-build --verbosity normal

0 comments on commit 47d8ce3

Please sign in to comment.