Skip to content

Commit 95140df

Browse files
committed
Another very annoying attempt at getting Windows to work
1 parent 22ba58e commit 95140df

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,12 @@ jobs:
7272
with:
7373
node-version: 24
7474
- name: Enable Corepack (for yarn)
75+
if: matrix.os == 'windows-latest'
76+
shell: pwsh
7577
run: |
7678
corepack enable
7779
corepack prepare yarn@1.22.22 --activate
80+
yarn --version
7881
- uses: crystal-lang/install-crystal@v1
7982
with:
8083
crystal: latest
@@ -83,8 +86,13 @@ jobs:
8386
- name: Install LuckyCLI
8487
run: crystal build src/lucky.cr
8588
- name: Add current directory to PATH
89+
if: matrix.os != 'windows-latest'
8690
shell: bash
8791
run: echo "$PWD" >> "$GITHUB_PATH"
92+
- name: Add current directory to PATH (Windows)
93+
if: matrix.os == 'windows-latest'
94+
shell: pwsh
95+
run: echo "$PWD" >> "$GITHUB_PATH"
8896

8997
# NOTE: Using `env: SHARDS_OVERRIDE` here doesn't seem to work. It will throw a missing file error on every OS
9098
# - name: Run e2e Browser app with authentication flow

0 commit comments

Comments
 (0)