File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,21 +52,12 @@ jobs:
5252 run : just test Rubjerg.Graphviz.TransitiveTest/Rubjerg.Graphviz.TransitiveTest.csproj
5353
5454
55- # Locate the package that GeneratePackageOnBuild just produced
5655 - name : Locate nupkg
5756 id : pkg
58- shell : pwsh
5957 run : |
60- # search everywhere under Rubjerg.Graphviz\bin\ for the first package
61- $pkg = Get-ChildItem Rubjerg.Graphviz\bin -Recurse -Filter "Rubjerg.Graphviz.*.nupkg" -File |
62- Where-Object { $_.Name -notlike "*.symbols.nupkg" } |
63- Select-Object -First 1
58+ pkg=$(find . -name "Rubjerg.Graphviz.*.nupkg" | head -1)
59+ echo "package=$pkg" >> "$GITHUB_OUTPUT"
6460
65- if (-not $pkg) { throw "Rubjerg.Graphviz nupkg not found" }
66-
67- "package=$($pkg.FullName)" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
68-
69- # Upload that single file
7061 - uses : actions/upload-artifact@v4
7162 with :
7263 name : win-bits
You can’t perform that action at this time.
0 commit comments