Skip to content

Commit

Permalink
Fixed github action after rename
Browse files Browse the repository at this point in the history
  • Loading branch information
zZHorizonZz committed Sep 9, 2024
1 parent d5532b8 commit a8724fb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: build-test-windows
on:
push:
paths:
- "**/windows-2019/**"
- "**/windows-2022/**"
- "**/windowsservercore-2019/**"
- "**/windowsservercore-2022/**"
- ".github/workflows/build-test-windows.yml"

pull_request:
paths:
- "**/windows-2019/**"
- "**/windows-2022/**"
- "**/windowsservercore-2019/**"
- "**/windowsservercore-2022/**"
- ".github/workflows/build-test-windows.yml"

jobs:
Expand All @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
version: [ "22.8.0" ]
variant: [ "windows-2019" ]
variant: [ "windowsservercore-2019" ]

steps:
- name: Get short node version
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
fail-fast: false
matrix:
version: [ "22.8.0" ]
variant: [ "windows-2022" ]
variant: [ "windowsservercore-2022" ]

steps:
- name: Get short node version
Expand Down
4 changes: 2 additions & 2 deletions genMatrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const testFiles = [
];

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

const areTestFilesChanged = (changedFiles) => changedFiles
.some((file) => testFiles.includes(file));
Expand Down
16 changes: 8 additions & 8 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ function usage() {
$0 [-s] [-w] [MAJOR_VERSION(S)] [VARIANT(S)]
Examples:
- update.sh # Update all images
- update.sh -s # Update all images, skip updating Alpine and Yarn
- update.sh -w # Update only Windows images
- update.sh 8,10 # Update all variants of version 8 and 10
- update.sh -s 8 # Update version 8 and variants, skip updating Alpine and Yarn
- update.sh 8 alpine # Update only Alpine variants for version 8
- update.sh -w 8 windows-2022 # Update only Windows 2022 variant for version 8
- update.sh . alpine # Update the Alpine variant for all versions
- update.sh # Update all images
- update.sh -s # Update all images, skip updating Alpine and Yarn
- update.sh -w # Update only Windows images
- update.sh 8,10 # Update all variants of version 8 and 10
- update.sh -s 8 # Update version 8 and variants, skip updating Alpine and Yarn
- update.sh 8 alpine # Update only Alpine variants for version 8
- update.sh -w 8 windowsservercore-2022 # Update only Windows Server Core 2022 variant for version 8
- update.sh . alpine # Update the Alpine variant for all versions
OPTIONS:
-s Security update; skip updating the Yarn and Alpine versions.
Expand Down

0 comments on commit a8724fb

Please sign in to comment.