From 4482dc2924c25a743999a211a8ade0149274c3c1 Mon Sep 17 00:00:00 2001 From: frederikprijck Date: Tue, 24 Oct 2023 12:47:31 +0200 Subject: [PATCH] Update actions --- .github/workflows/build.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) 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