Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/grandnode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ jobs:
- name: Restore
run: dotnet restore "${{ env.WORKING_DIRECTORY }}"
- name: Build sln
run: dotnet build "GrandNode.sln"
run: dotnet build "GrandNode.sln" --configuration ${{ env.CONFIGURATION }}
- name: Unit tests
run: ./.github/scripts/run-tests.sh Debug
# The job-level CONFIGURATION env var is picked up by MSBuild as the Configuration
# property, so "Build sln" above produces Release regardless of the missing
# --configuration flag. The tests must look in the same place.
run: ./.github/scripts/run-tests.sh ${{ env.CONFIGURATION }}
- name: Build
run: dotnet build "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-restore -p:SourceRevisionId=${{ github.sha }} -p:GitBranch=${{ github.ref_name }}
- name: Publish
Expand Down
Loading