restore and run #141
Workflow file for this run
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: main | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - feature/linux | |
| paths: | |
| - 'src/**' | |
| - .github/workflows/main.yml | |
| workflow_dispatch: | |
| jobs: | |
| windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup NuGet Source | |
| run: | | |
| dotnet nuget add source "https://nuget.pkg.github.com/${{ github.repository_owner }}" --name github --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} | |
| - name: Restore dependencies | |
| run: | | |
| dotnet restore | |
| - name: Build code | |
| run: dotnet build -c Release --no-restore | |
| - name: Test | |
| run: dotnet test -c Release --no-build --verbosity normal |