diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 589a849..4e6cde7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,14 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v1 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: | + 6.x + 8.x + - name: List dotnet sdks + run: dotnet --info - name: Cache tools, ~/.nuget/packages uses: actions/cache@v2 with: @@ -21,5 +29,10 @@ jobs: tools ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }} - - name: Run './build.ps1' - run: ./build.ps1 + - name: Run the Cake script + uses: cake-build/cake-action@v1 + with: + cake-version: tool-manifest + verbosity: Normal + script-path: build.cake + target: Default