Deprecate Teams Controllers #693
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 & Lint | |
| on: | |
| workflow_call: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: ['main'] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| - 'Assets/**' | |
| - 'core/**' | |
| push: | |
| branches: ['main'] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'docs/**' | |
| - 'Assets/**' | |
| - 'core/**' | |
| permissions: read-all | |
| jobs: | |
| build-test-lint: | |
| name: Build & Test & Lint | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '9.0' | |
| - name: Restore | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore --configuration Release | |
| - name: Test | |
| run: dotnet test --no-restore --verbosity normal --logger trx --configuration Release | |
| - name: Pack | |
| run: dotnet pack --no-restore --configuration Release --output ./nupkgs | |
| - name: Upload nupkg as workflow artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: nupkg | |
| path: ./nupkgs/*.nupkg |