fix MasterCommander.topic #13
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Build & Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ '*' ] | |
env: | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
jobs: | |
################################################### | |
# BUILD | |
################################################### | |
build: | |
name: Build | |
if: "!contains(github.event.head_commit.message, 'skip-ci')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
8.0.x | |
- name: Build | |
shell: bash | |
run: | | |
dotnet tool restore | |
dotnet cake | |
- name: Upload Verify Test Results | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: verify-test-results | |
path: | | |
**/*.received.* |