Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Jun 11, 2024
1 parent 880b1ed commit f4a59d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
output = @()
$output = @()
Foreach ($file in $env:ALL_CHANGED_FILES) {
switch -Regex ($file) {
'^packages/[^/]*/([^/]*)/.*' { ouptput += "$($matches[1])"; Break }
'^packages/[^/]*/([^/]*)/.*' { $output += "$($matches[1])"; Break }
default { echo "$file skipped"; Break }
}
}
Expand All @@ -53,7 +53,7 @@ jobs:
env:
ALL_CHANGED_PACKAGES: ${{ steps.changed-packages.outputs.data }}
run: |
pkgs = ${ALL_CHANGED_PACKAGES} | ConvertFrom-Json
$pkgs = ${ALL_CHANGED_PACKAGES} | ConvertFrom-Json
Foreach ($pkg in $pkgs) {
opam install --confirm-level=unsafe-yes "$pkg"
}

0 comments on commit f4a59d0

Please sign in to comment.