Skip to content

Commit

Permalink
Updating build
Browse files Browse the repository at this point in the history
  • Loading branch information
grofit committed Jan 3, 2025
1 parent 2e5fe12 commit a28739d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on: [push]

env:
BUILD_VERSION: 8.0.${{github.run_number}}
SOLUTION_FILE: "src/EcsR3.sln"

jobs:
build-and-test:
Expand All @@ -14,6 +15,8 @@ jobs:
with:
dotnet-version: 9.0.x
- name: Build
run: dotnet build --configuration Release
run: dotnet restore ${{SOLUTION_FILE}}
- name: Build
run: dotnet build --configuration Release -p:Version=${{BUILD_VERSION}} ${{SOLUTION_FILE}}
- name: Test
run: dotnet test --configuration Release --no-build
run: dotnet test --configuration Release --no-build ${{SOLUTION_FILE}}

0 comments on commit a28739d

Please sign in to comment.