Skip to content

Commit

Permalink
Fix PS issues
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed Apr 14, 2024
1 parent f8af3d3 commit e538a01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ebpf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ jobs:
# Note: The script is not in the repository, but is downloaded from the web.
run: |
dir .
$profile = $false
if ("${{inputs.profile}}" -eq "true") { $profile = $true }
$profile = 0
if ("${{inputs.profile}}" -eq "true") { $profile = 1 }
$url = "https://raw.githubusercontent.com/microsoft/bpf_performance/main/scripts/two-machine-perf.ps1"
iex "& { $(irm $url) } -CpuProfile $profile"
if ($Profile) { Rename-Item -Path ${{ github.workspace }}\etl\cts_traffic_send.etl -NewName "cts_traffic_send_baseline.etl"}
Expand Down Expand Up @@ -216,8 +216,8 @@ jobs:
# Note: The script is not in the repository, but is downloaded from the web.
run: |
dir .
$profile = $false
if ("${{inputs.profile}}" -eq "true") { $profile = $true }
$profile = 0
if ("${{inputs.profile}}" -eq "true") { $profile = 1 }
$url = "https://raw.githubusercontent.com/microsoft/bpf_performance/main/scripts/two-machine-perf.ps1"
iex "& { $(irm $url) } -CpuProfile $profile"
if ($Profile) { Rename-Item -Path ${{ github.workspace }}\etl\cts_traffic_send.etl -NewName "cts_traffic_send_xdp.etl"}
Expand Down

0 comments on commit e538a01

Please sign in to comment.