diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 498b7904..39eb3fb1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,18 +10,27 @@ jobs: build: runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-dotnet@v1 + - uses: actions/checkout@v4 + + - name: Install .NET + uses: actions/setup-dotnet@v3 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 + + - name: Setup NuGet uses: nuget/setup-nuget@v1 - - run: nuget restore Auth0.OidcClient.All.sln + + - name: Restore NuGet + run: nuget restore Auth0.OidcClient.All.sln + - name: Setup MSBuild uses: microsoft/setup-msbuild@v1.1 - - name: Build app for release + + - name: Build run: msbuild Auth0.OidcClient.All.sln -t:rebuild -verbosity:diag -property:Configuration=Release \ No newline at end of file