File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 5757 - name : Publish to Yak server (Rhino 7)
5858 shell : pwsh
5959 run : |
60+ $test_flag = if ($Env:TEST_FLAG) { $Env:TEST_FLAG } else { "" }
6061 $file = Get-ChildItem -Path dist\yak_package\*rh7*.yak -File | Select-Object -ExpandProperty Name
61- invoke publish-yak $Env:TEST_FLAG -y dist\yak_package\$file
62+ $command = "invoke publish-yak -y dist\yak_package\$file $test_flag".Trim()
63+ Invoke-Expression $command
6264 env :
6365 YAK_TOKEN : ${{ secrets.YAK_DF_TOKEN }}
6466
7375 - name : Publish to Yak server (Rhino 8)
7476 shell : pwsh
7577 run : |
78+ $test_flag = if ($Env:TEST_FLAG) { $Env:TEST_FLAG } else { "" }
7679 $file = Get-ChildItem -Path dist\yak_package\*rh8*.yak -File | Select-Object -ExpandProperty Name
77- invoke publish-yak $Env:TEST_FLAG -y dist\yak_package\$file
80+ $command = "invoke publish-yak -y dist\yak_package\$file $test_flag".Trim()
81+ Invoke-Expression $command
7882 env :
7983 YAK_TOKEN : ${{ secrets.YAK_DF_TOKEN }}
You can’t perform that action at this time.
0 commit comments