Skip to content

Commit 537d20b

Browse files
Use updated orb in Windows Hello World
1 parent 6b6bd49 commit 537d20b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

jekyll/_cci2/hello-world-windows.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ Get started with Windows on CircleCI with the following configuration snippet th
5555
version: 2.1
5656

5757
orbs:
58-
win: circleci/windows@1.0.0
58+
win: circleci/windows@2.2.0
5959

6060
jobs:
6161
build:
62-
executor: win/vs2019
62+
executor: win/default
6363
steps:
6464
- checkout
6565
- run: Write-Host 'Hello, Windows'
@@ -79,13 +79,12 @@ You can configure the shell at the job level or at the step level. It is possibl
7979
version: 2.1
8080
8181
orbs:
82-
win: circleci/windows@1.0.0
82+
win: circleci/windows@2.2.0
8383
8484
jobs:
8585
build:
8686
executor:
87-
name: win/vs2019
88-
shell: bash.exe
87+
name: win/default
8988
steps:
9089
- checkout
9190
- run: ls -lah
@@ -111,7 +110,7 @@ Above, we start by declaring that we will use version `2.1` of CircleCI, giving
111110

112111
```yaml
113112
orbs:
114-
win: circleci/windows@1.0.0
113+
win: circleci/windows@2.2.0
115114
```
116115

117116
Next, we declare orbs that we will be using in our build. We will only use the [windows orb](https://circleci.com/orbs/registry/orb/circleci/windows) to help us get started.
@@ -120,7 +119,7 @@ Next, we declare orbs that we will be using in our build. We will only use the [
120119
jobs:
121120
build:
122121
executor:
123-
name: win/vs2019
122+
name: win/default
124123
shell: powershell.exe
125124
```
126125

0 commit comments

Comments
 (0)