Skip to content

Commit a8724fb

Browse files
committed
Fixed github action after rename
1 parent d5532b8 commit a8724fb

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.github/workflows/build-test-windows.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ name: build-test-windows
33
on:
44
push:
55
paths:
6-
- "**/windows-2019/**"
7-
- "**/windows-2022/**"
6+
- "**/windowsservercore-2019/**"
7+
- "**/windowsservercore-2022/**"
88
- ".github/workflows/build-test-windows.yml"
99

1010
pull_request:
1111
paths:
12-
- "**/windows-2019/**"
13-
- "**/windows-2022/**"
12+
- "**/windowsservercore-2019/**"
13+
- "**/windowsservercore-2022/**"
1414
- ".github/workflows/build-test-windows.yml"
1515

1616
jobs:
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
version: [ "22.8.0" ]
25-
variant: [ "windows-2019" ]
25+
variant: [ "windowsservercore-2019" ]
2626

2727
steps:
2828
- name: Get short node version
@@ -71,7 +71,7 @@ jobs:
7171
fail-fast: false
7272
matrix:
7373
version: [ "22.8.0" ]
74-
variant: [ "windows-2022" ]
74+
variant: [ "windowsservercore-2022" ]
7575

7676
steps:
7777
- name: Get short node version

genMatrix.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ const testFiles = [
88
];
99

1010
const nodeDirRegex = /^\d+$/;
11-
// Directories starting with 'windows-' are excluded from the matrix windows-2019 are excluded for example
12-
const windowsDirRegex = /^windows-/;
11+
// Directories starting with 'windowsservercore-' are excluded from the matrix windows-2019 are excluded for example
12+
const windowsDirRegex = /^windowsservercore-/;
1313

1414
const areTestFilesChanged = (changedFiles) => changedFiles
1515
.some((file) => testFiles.includes(file));

update.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ function usage() {
1111
$0 [-s] [-w] [MAJOR_VERSION(S)] [VARIANT(S)]
1212
1313
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
2222
2323
OPTIONS:
2424
-s Security update; skip updating the Yarn and Alpine versions.

0 commit comments

Comments
 (0)