relax captain selection process when loading captain from builds #650
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and run tests on development branch | |
on: | |
push: | |
branches: | |
- development | |
paths-ignore: | |
- '**/*.md' | |
- '.github/*.png' | |
- 'docs/**/*.*' | |
- 'workflows/*.yml' | |
- 'deployment/**/*.*' | |
pull_request: | |
branches: | |
- development | |
paths-ignore: | |
- '**/*.resx' | |
- '**/*.md' | |
- '.github/*.png' | |
- 'docs/**/*.*' | |
- 'workflows/*.yml' | |
- 'deployment/**/*.*' | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
name: Build application on dev branch | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
global-json-file: global.json | |
- name: Restore dependencies | |
run: dotnet restore dirs.proj | |
- name: Build application | |
run: dotnet build dirs.proj --no-restore -c Release -p:TreatWarningsAsErrors=true | |
- name: Test application | |
run: dotnet test dirs.proj --no-build -c Release --verbosity normal | |
build-windows: | |
runs-on: windows-latest | |
name: Build application on dev branch (Windows) | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
global-json-file: global.json | |
- name: Restore dependencies | |
run: dotnet restore dirs.proj | |
- name: Build application | |
run: dotnet build dirs.proj --no-restore -c Release -p:TreatWarningsAsErrors=true | |
- name: Test application | |
run: dotnet test dirs.proj --no-build -c Release --verbosity normal |