File tree Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Expand file tree Collapse file tree 3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ name: build-test-windows
3
3
on :
4
4
push :
5
5
paths :
6
- - " **/windows -2019/**"
7
- - " **/windows -2022/**"
6
+ - " **/windowsservercore -2019/**"
7
+ - " **/windowsservercore -2022/**"
8
8
- " .github/workflows/build-test-windows.yml"
9
9
10
10
pull_request :
11
11
paths :
12
- - " **/windows -2019/**"
13
- - " **/windows -2022/**"
12
+ - " **/windowsservercore -2019/**"
13
+ - " **/windowsservercore -2022/**"
14
14
- " .github/workflows/build-test-windows.yml"
15
15
16
16
jobs :
22
22
fail-fast : false
23
23
matrix :
24
24
version : [ "22.8.0" ]
25
- variant : [ "windows -2019" ]
25
+ variant : [ "windowsservercore -2019" ]
26
26
27
27
steps :
28
28
- name : Get short node version
71
71
fail-fast : false
72
72
matrix :
73
73
version : [ "22.8.0" ]
74
- variant : [ "windows -2022" ]
74
+ variant : [ "windowsservercore -2022" ]
75
75
76
76
steps :
77
77
- name : Get short node version
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ const testFiles = [
8
8
] ;
9
9
10
10
const nodeDirRegex = / ^ \d + $ / ;
11
- // Directories starting with 'windows -' are excluded from the matrix windows-2019 are excluded for example
12
- const windowsDirRegex = / ^ w i n d o w s - / ;
11
+ // Directories starting with 'windowsservercore -' are excluded from the matrix windows-2019 are excluded for example
12
+ const windowsDirRegex = / ^ w i n d o w s s e r v e r c o r e - / ;
13
13
14
14
const areTestFilesChanged = ( changedFiles ) => changedFiles
15
15
. some ( ( file ) => testFiles . includes ( file ) ) ;
Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ function usage() {
11
11
$0 [-s] [-w] [MAJOR_VERSION(S)] [VARIANT(S)]
12
12
13
13
Examples:
14
- - update.sh # Update all images
15
- - update.sh -s # Update all images, skip updating Alpine and Yarn
16
- - update.sh -w # Update only Windows images
17
- - update.sh 8,10 # Update all variants of version 8 and 10
18
- - update.sh -s 8 # Update version 8 and variants, skip updating Alpine and Yarn
19
- - update.sh 8 alpine # Update only Alpine variants for version 8
20
- - update.sh -w 8 windows -2022 # Update only Windows 2022 variant for version 8
21
- - update.sh . alpine # Update the Alpine variant for all versions
14
+ - update.sh # Update all images
15
+ - update.sh -s # Update all images, skip updating Alpine and Yarn
16
+ - update.sh -w # Update only Windows images
17
+ - update.sh 8,10 # Update all variants of version 8 and 10
18
+ - update.sh -s 8 # Update version 8 and variants, skip updating Alpine and Yarn
19
+ - update.sh 8 alpine # Update only Alpine variants for version 8
20
+ - update.sh -w 8 windowsservercore -2022 # Update only Windows Server Core 2022 variant for version 8
21
+ - update.sh . alpine # Update the Alpine variant for all versions
22
22
23
23
OPTIONS:
24
24
-s Security update; skip updating the Yarn and Alpine versions.
You can’t perform that action at this time.
0 commit comments