Skip to content

Commit 7ae2ca8

Browse files
committed
Test gen matrix
1 parent f036f41 commit 7ae2ca8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

22/windows-2022/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ ENV NODE_CHECKSUM 3fc638727974262b4f65a6b1b43c22fb2d80671cdcb50e1237e0b05d1330aa
1313

1414
ENV GPG_VERSION 2.4.5_20240307
1515

16+
ENV TTT 1
17+
1618
RUN Invoke-WebRequest $('https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-{0}.exe' -f $env:GPG_VERSION) -OutFile 'gpg-installer.exe'; \
1719
Start-Process -FilePath 'gpg-installer.exe' -ArgumentList '/S' -Wait; \
1820
Remove-Item gpg-installer.exe -Force; \

genMatrix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const getNodeVersionDirs = (base) => getChildDirectories(base)
2424

2525
// Returns the paths of Dockerfiles that are at: base/*/Dockerfile
2626
const getDockerfilesInChildDirs = (base) => getChildDirectories(base)
27-
.filter((directory) => directory.isDirectory() && !windowsDirRegex.test(directory.name))
27+
.filter((directory) => !windowsDirRegex.test(path.basename(directory)))
2828
// Test print the directories
2929
.map((childDir) => {
3030
console.log(childDir);

0 commit comments

Comments
 (0)