Skip to content

Commit 7f7dec5

Browse files
committed
Enable runfiles on windows during release builds
1 parent a72aadb commit 7f7dec5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
- main
99
paths:
1010
- version.bzl
11-
- .github/workflows/release.yaml
1211
push:
1312
branches:
1413
- main
@@ -28,7 +27,6 @@ jobs:
2827
steps:
2928
- uses: actions/checkout@v3
3029
- name: Ensure release does not already exist
31-
if: startsWith(github.ref, 'refs/heads/main') == false
3230
run: |
3331
git fetch origin &> /dev/null
3432
version="$(grep 'VERSION =' ${{ github.workspace }}/version.bzl | sed 's/VERSION = "//' | sed 's/"//')"
@@ -95,6 +93,8 @@ jobs:
9593
- name: Setup Windows Bazelrc
9694
run: |
9795
echo "startup --output_user_root=C:/tmp" > ./user.bazelrc
96+
echo "startup --windows_enable_symlinks" > ./user.bazelrc
97+
echo "build --enable_runfiles" > ./user.bazelrc
9898
if: startswith(matrix.os, 'Windows')
9999
- name: Build cargo-bazel binaries
100100
run: |

0 commit comments

Comments
 (0)