File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,21 +66,20 @@ jobs:
6666 timeout-minutes : 30
6767 steps :
6868 - name : Install xlings
69- shell : bash
69+ shell : pwsh
7070 run : |
71- curl -fsSL https://github.com/d2learn/xlings/releases/download/v0.4.30/xlings-0.4.30-windows-x86_64.zip -o /tmp/xlings.zip
72- mkdir -p /tmp/xlings-extract
73- unzip -o /tmp/xlings.zip -d /tmp/xlings-extract
74- /tmp/xlings-extract/xlings-0.4.30-windows-x86_64/subos/default/bin/xlings.exe self install
75- echo "$USERPROFILE/.xlings/subos/default/bin" >> "$GITHUB_PATH"
71+ Invoke-WebRequest -Uri "https://github.com/d2learn/xlings/releases/download/v0.4.30/xlings-0.4.30-windows-x86_64.zip" -OutFile "$env:TEMP\xlings.zip"
72+ Expand-Archive -Path "$env:TEMP\xlings.zip" -DestinationPath "$env:TEMP\xlings-extract" -Force
73+ & "$env:TEMP\xlings-extract\xlings-0.4.30-windows-x86_64\subos\default\bin\xlings.exe" self install
74+ "$env:USERPROFILE\.xlings\subos\default\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
7675
7776 - name : Install mcpp
78- shell : bash
77+ shell : pwsh
7978 run : xlings install mcpp -y
8079
8180 - name : " mcpp new hello → mcpp run"
82- shell : bash
81+ shell : pwsh
8382 run : |
8483 mcpp new hello
85- cd hello
84+ Set-Location hello
8685 mcpp run
You can’t perform that action at this time.
0 commit comments