Skip to content

Commit 9497fe9

Browse files
committed
Fix for windows
1 parent dc82a75 commit 9497fe9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/cibuildgem.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
with:
2626
ruby-version: "3.1.7"
2727
bundler-cache: true
28+
- name: "Set RUST_TARGET for windows"
29+
if: ${{ runner.os == 'Windows' }}
30+
run: echo "RUST_TARGET=x86_64-pc-windows-gnu" >> $env:GITHUB_ENV
2831
- name: "Run cibuildgem"
2932
uses: "shopify/cibuildgem/.github/actions/cibuildgem@main"
3033
with:
@@ -51,6 +54,9 @@ jobs:
5154
with:
5255
crate: "b3sum"
5356
version: "1.5.1"
57+
- name: "Set RUST_TARGET for windows"
58+
if: ${{ runner.os == 'Windows' }}
59+
run: echo "RUST_TARGET=x86_64-pc-windows-gnu" >> $env:GITHUB_ENV
5460
- name: "Run cibuildgem"
5561
uses: "shopify/cibuildgem/.github/actions/cibuildgem@main"
5662
with:

0 commit comments

Comments
 (0)