Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCiliaVincenti authored Oct 15, 2022
1 parent cf7ab1a commit 56f344f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: install .NET
- name: Install .NET
shell: pwsh
run: |
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest https://dot.net/v1/dotnet-install.ps1 -OutFile dotnet-install.ps1
.\dotnet-install.ps1 -Version 7.0.100-preview.6.22316.8 -InstallDir .
.\dotnet-install.ps1 -Version 7.0.0-rc.2.22476.2 -InstallDir .
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
shell: pwsh
run: |
& .\dotnet build ThreadSafeRandomizer/ThreadSafeRandomizer.csproj -bl:binlog.binlog
- name: Test
run: dotnet test --no-build --verbosity normal

0 comments on commit 56f344f

Please sign in to comment.