Adding back all Maestro API code examples #148
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
name: .NET | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.0.x | |
- name: setup-msbuild | |
uses: microsoft/[email protected] | |
- name: Restore dependencies | |
run: dotnet restore launcher-csharp.sln | |
- name: Build | |
run: dotnet build launcher-csharp.sln --no-restore | |
- name: Test | |
env: | |
CLIENT_ID: ${{ secrets.CLIENT_ID }} | |
IMPERSONATED_USER_ID: ${{ secrets.IMPERSONATED_USER_ID }} | |
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | |
SIGNER_EMAIL: ${{ secrets.SIGNER_EMAIL }} | |
SIGNER_NAME: ${{ secrets.SIGNER_NAME }} | |
run: dotnet test launcher-csharp.sln --no-build --verbosity normal |