Bump changelist #15
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: ["master"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Free Disk Space (Ubuntu) | |
| uses: jlumbroso/free-disk-space@v1.3.1 | |
| with: | |
| dotnet: false | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| 10.0.x | |
| - name: Run tests | |
| run: dotnet test | |
| - name: Run publish script | |
| run: ./publish-nix.sh -dp | |
| - name: Update rolling tag | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git tag -f rolling | |
| git push origin :refs/tags/rolling || true | |
| git push origin rolling --force | |
| - name: Upload to rolling | |
| uses: ncipollo/release-action@v1.20.0 | |
| with: | |
| allowUpdates: True | |
| artifacts: "*.nupkg,*.snupkg,*.zip" | |
| body: "Last built commit: ${{ github.sha }} | |
| ## UI Builds | |
| [Windows x64 UI Release](https://github.com/SabreTools/MPF/releases/download/rolling/MPF.UI_net10.0-windows_win-x64_release.zip) | |
| [Windows x64 UI Debug](https://github.com/SabreTools/MPF/releases/download/rolling/MPF.UI_net10.0-windows_win-x64_debug.zip)" | |
| name: "Rolling Release" | |
| prerelease: True | |
| replacesArtifacts: True | |
| tag: "rolling" | |
| updateOnlyUnreleased: True |