Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Misha-133 committed Feb 13, 2024
1 parent 302bd14 commit b20de3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ jobs:
run: dotnet restore

- name: Build
run: dotnet build "Discord.Net.sln" -v minimal -c Release --no-restore /p:BuildNumber={{ github.run_number }}
env:
RUN_NUMBER: ${{ github.run_number }}
run: dotnet build "Discord.Net.sln" -v minimal -c Release --no-restore /p:BuildNumber=$RUN_NUMBER

- name: Unit Test
run: dotnet test "test/Discord.Net.Tests.Unit/Discord.Net.Tests.Unit.csproj" --no-restore --no-build -v minimal -c Release --logger trx
Expand Down

0 comments on commit b20de3b

Please sign in to comment.