Skip to content

Commit 65c6d4d

Browse files
committed
Update CI to install .NET SDK 8.0
And some various cleanups.
1 parent eba1c6c commit 65c6d4d

File tree

6 files changed

+21
-64
lines changed

6 files changed

+21
-64
lines changed

.vsts-ci/azure-pipelines-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141
steps:
4242
- template: templates/ci-general.yml
4343

44-
- job: macOS11
45-
displayName: macOS 11
44+
- job: macOS12
45+
displayName: macOS 12
4646
pool:
47-
vmImage: macOS-11
47+
vmImage: macOS-12
4848
steps:
4949
- template: templates/ci-general.yml
5050

.vsts-ci/azure-pipelines-release.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: Release-$(Build.SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.rr)
22

3+
trigger: none
4+
35
variables:
46
# Don't download unneeded packages
5-
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
7+
- name: DOTNET_NOLOGO
68
value: 'true'
79
# Improve performance by not sending telemetry
810
- name: DOTNET_CLI_TELEMETRY_OPTOUT
911
value: 'true'
10-
11-
trigger: none
12+
# Improve performance by not generating certificates
13+
- name: DOTNET_GENERATE_ASPNET_CERTIFICATE
14+
value: 'false'
1215

1316
resources:
1417
repositories:

.vsts-ci/misc-analysis.yml

-20
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: Misc-$(Build.SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.rr)
22

33
trigger:
44
- gh-readonly-queue/main/*
5-
pr:
6-
paths:
7-
exclude:
8-
- '**/*.md'
95

106
resources:
117
repositories:
@@ -22,19 +18,3 @@ jobs:
2218
- checkout: self
2319
- checkout: ComplianceRepo
2420
- template: ci-compliance.yml@ComplianceRepo
25-
26-
# NOTE: This enables our project to work with Visual Studio's Rich Navigation:
27-
# https://visualstudio.microsoft.com/services/rich-code-navigation/
28-
- job: RichCodeNav
29-
pool:
30-
vmImage: windows-latest
31-
steps:
32-
# TODO: Move to GitHub Action
33-
- task: RichCodeNavIndexer@0
34-
continueOnError: true
35-
inputs:
36-
serviceConnection: rich-nav
37-
nugetServiceConnection: rich-nav-nuget
38-
githubServiceConnection: PowerShell
39-
languages: typescript,csharp
40-
serviceEndpoint: https://prod.richnav.vsengsaas.visualstudio.com

.vsts-ci/templates/ci-general.yml

+11-6
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,24 @@ steps:
3333

3434
- task: UseDotNet@2
3535
condition: not(${{ parameters.usePipelineArtifact }})
36-
displayName: Install .NET 7.0.x SDK
36+
displayName: Install .NET 8.x SDK
3737
inputs:
3838
packageType: sdk
39-
version: 7.0.x
40-
performMultiLevelLookup: true
39+
version: 8.x
4140

4241
- task: UseDotNet@2
4342
condition: not(${{ parameters.usePipelineArtifact }})
44-
displayName: Install .NET 6.0.x runtime
43+
displayName: Install .NET 7.x runtime
4544
inputs:
4645
packageType: runtime
47-
version: 6.0.x
48-
performMultiLevelLookup: true
46+
version: 7.x
47+
48+
- task: UseDotNet@2
49+
condition: not(${{ parameters.usePipelineArtifact }})
50+
displayName: Install .NET 6.x runtime
51+
inputs:
52+
packageType: runtime
53+
version: 6.x
4954

5055
- task: UseNode@1
5156
inputs:

.vsts-ci/templates/credscan.yml

-31
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PowerShell for Visual Studio Code
22

3-
[![Build Status](https://dev.azure.com/powershell/vscode-powershell/_apis/build/status/PowerShell.vscode-powershell?branchName=main)](https://dev.azure.com/powershell/vscode-powershell/_build/latest?definitionId=51&branchName=main)
3+
[![CI Tests](https://github.com/PowerShell/vscode-powershell/actions/workflows/ci-test.yml/badge.svg)](https://github.com/PowerShell/vscode-powershell/actions/workflows/ci-test.yml)
44
[![Version](https://img.shields.io/visual-studio-marketplace/v/ms-vscode.PowerShell)](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell)
55
[![Installs](https://img.shields.io/visual-studio-marketplace/i/ms-vscode.PowerShell)](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell)
66
[![Join the chat on Discord](https://img.shields.io/discord/180528040881815552.svg?label=%23vscode&logo=discord&logoColor=white)](https://aka.ms/powershell-vscode-discord)

0 commit comments

Comments
 (0)