Bump Downloader from 5.9.4 to 5.9.5 #280
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: Build / test # Displayed on badge | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| # Build solution | |
| build: | |
| strategy: | |
| matrix: | |
| configuration: [ Debug, Release ] | |
| runs-on: windows-latest | |
| env: | |
| Solution: src/BandcampDownloader.slnx | |
| Configuration: ${{ matrix.configuration }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install .NET | |
| uses: actions/setup-dotnet@v6 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Display dotnet version | |
| run: dotnet --info | |
| - name: Restore nugets | |
| run: dotnet restore $env:Solution | |
| - name: Build | |
| run: dotnet build --no-restore --configuration $env:Configuration $env:Solution | |
| # Run tests | |
| test: | |
| strategy: | |
| matrix: | |
| configuration: [ Debug, Release ] | |
| runs-on: windows-latest | |
| env: | |
| Solution: src/BandcampDownloader.slnx | |
| Configuration: ${{ matrix.configuration }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install .NET | |
| uses: actions/setup-dotnet@v6 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Display dotnet version | |
| run: dotnet --info | |
| - name: Run tests | |
| run: dotnet test --configuration $env:Configuration $env:Solution | |
| # Publish project | |
| publish: | |
| runs-on: windows-latest | |
| env: | |
| Csproj: src\BandcampDownloader\BandcampDownloader.csproj | |
| Configuration: Release | |
| PublishOutput: artifacts | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install .NET | |
| uses: actions/setup-dotnet@v6 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Display dotnet version | |
| run: dotnet --info | |
| - name: Publish | |
| run: dotnet publish --configuration $env:Configuration --output $env:PublishOutput $env:Csproj |