diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..498b7904 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +name: Build + +on: + pull_request: {} + + push: + branches: ["master", "main", "feat/sdk-4539"] + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-dotnet@v1 + with: + dotnet-version: 6.x + - name: Install .NET iOS workload + run: dotnet workload install ios + - name: Install .NET Android workload + run: dotnet workload install android + - name: Setup Nuget + uses: nuget/setup-nuget@v1 + - run: nuget restore Auth0.OidcClient.All.sln + - name: Setup MSBuild + uses: microsoft/setup-msbuild@v1.1 + - name: Build app for release + run: msbuild Auth0.OidcClient.All.sln -t:rebuild -verbosity:diag -property:Configuration=Release \ No newline at end of file