Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
axunonb authored Nov 2, 2021
1 parent d3f9b68 commit 4683d59
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ jobs:
build:
name: Build
runs-on: windows-latest
env:
working-directory: ./src
steps:
- name: Set up JDK 11
uses: actions/setup-java@v1
Expand Down Expand Up @@ -44,7 +42,7 @@ jobs:
shell: powershell
run: |
.\.sonar\scanner\dotnet-sonarscanner begin /k:"axuno_SmartFormat" /o:"axuno" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
dotnet restore SmartFormat.sln
dotnet build SmartFormat.sln /verbosity:minimal /t:rebuild /p:configuration=release --no-restore
dotnet test SmartFormat.sln --no-build --verbosity normal
dotnet restore ./src/SmartFormat.sln
dotnet build ./src/SmartFormat.sln /verbosity:minimal /t:rebuild /p:configuration=release --no-restore
dotnet test ./src/SmartFormat.sln --no-build --verbosity normal
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"

0 comments on commit 4683d59

Please sign in to comment.