Skip to content

Commit b80e93a

Browse files
committed
windows part deux
1 parent cbe97a5 commit b80e93a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ jobs:
147147
~/.cargo/git
148148
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
149149

150+
- name: Set Windows PATH
151+
if: runner.os == 'Windows'
152+
run: echo "$env:USERPROFILE\.cargo\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
153+
150154
- name: Compile shaders to SPIR-V
151155
working-directory: shaders/rust
152-
run: |
153-
if [ "${{ runner.os }}" == "Windows" ]; then
154-
export PATH="$HOME/.cargo/bin:$PATH"
155-
fi
156-
python3 compileshaders.py
156+
run: python3 compileshaders.py
157157

158158
- name: Verify no uncommitted changes
159159
shell: bash

0 commit comments

Comments
 (0)