diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0baaea7..899f2b27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v5.4.0 with: - dotnet-version: 8.0.x + global-json-file: global.json - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.3 - name: Build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ccb62aec..f0023101 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,6 @@ defaults: shell: pwsh jobs: release: - if: ${{ github.actor != 'dependabot[bot]' }} runs-on: windows-latest steps: - name: Check for secrets @@ -30,7 +29,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v5.4.0 with: - dotnet-version: 8.0.200 # Locked until VS/MSBuild is compatible with 8.0.300 + global-json-file: global.json - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.3 - name: Build @@ -48,7 +47,7 @@ jobs: - name: Build Windows installer env: AZURE_KEY_VAULT_CLIENT_SECRET: ${{ secrets.AZURE_KEY_VAULT_CLIENT_SECRET }} - run: dotnet build src/Setup --configuration Release + run: msbuild src/Setup -p:Configuration=Release -restore -m - name: Publish artifacts uses: actions/upload-artifact@v7.0.1 with: diff --git a/global.json b/global.json index 2134ed94..a5bf76b6 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,7 @@ { "sdk": { - "version": "8.0.400", + "version": "10.0.100", + "allowPrerelease": false, "rollForward": "latestFeature" } } \ No newline at end of file