Add repo URL & publish direction to project file #29
This file contains hidden or 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 test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-and-test-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: 8.x.x | |
| # to prevent error NU1403: Package content hash validation failed for FSharp.Core.8.0.403. The package is different than the last restore. | |
| - name: Restore dependencies | |
| run: dotnet restore --force-evaluate | |
| - name: make script executable | |
| run: chmod u+x build.sh | |
| - name: Build and test | |
| run: ./build.sh runtests | |
| build-and-test-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: 8.x.x | |
| # to prevent error NU1403: Package content hash validation failed for FSharp.Core.8.0.403. The package is different than the last restore. | |
| - name: Restore dependencies | |
| run: dotnet restore --force-evaluate | |
| - name: Build and test | |
| working-directory: ./ | |
| run: ./build.cmd runtests |