@@ -22,19 +22,20 @@ runs:
2222
2323 - name : Initialize WSL
2424 id : init_wsl
25- uses : angular/dev-infra/github-actions/setup-wsl@1e0e2edff67a23e606df18ac8a25a59249f23a60
25+ uses : angular/dev-infra/github-actions/setup-wsl@10c9ccde0b22c30eefc13adc5a5121b5898902d1
2626 with :
2727 wsl_firewall_interface : ' vEthernet (WSL (Hyper-V firewall))'
2828
2929 - name : Install node modules in WSL (re-using from previous install/cache restore)
30- run : yarn install --immutable
31- working-directory : ${{steps.init_wsl.outputs.repo_path}}
30+ run : |
31+ cd ${{steps.init_wsl.outputs.repo_path}}
32+ yarn install --immutable
3233 shell : wsl-bash {0}
3334
3435 - name : Build test binary for Windows (inside WSL)
3536 shell : wsl-bash {0}
36- working-directory : ${{steps.init_wsl.outputs.repo_path}}
3737 run : |
38+ cd ${{steps.init_wsl.outputs.repo_path}}
3839 yarn bazel \
3940 build --config=e2e //tests/legacy-cli:${{inputs.test_target_name}} --platforms=tools:windows_x64
4041 env :
@@ -43,17 +44,18 @@ runs:
4344
4445 - name : Copying binary artifact to host
4546 shell : wsl-bash {0}
46- working-directory : ${{steps.init_wsl.outputs.repo_path}}
4747 run : |
48+ cd ${{steps.init_wsl.outputs.repo_path}}
4849 tar -cf /tmp/test.tar.gz dist/bin/tests/legacy-cli/${{inputs.test_target_name}}_
4950 mkdir /mnt/c/test
5051 mv /tmp/test.tar.gz /mnt/c/test
5152 (cd /mnt/c/test && tar -xf /mnt/c/test/test.tar.gz)
5253
5354 - name : Convert symlinks for Windows host
5455 shell : wsl-bash {0}
55- working-directory : ${{steps.init_wsl.outputs.repo_path}}
5656 run : |
57+ cd ${{steps.init_wsl.outputs.repo_path}}
58+
5759 runfiles_dir="/mnt/c/test/dist/bin/tests/legacy-cli/${{inputs.test_target_name}}_/${{inputs.test_target_name}}.bat.runfiles"
5860
5961 # Make WSL symlinks compatible on Windows native file system.
0 commit comments