Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym authored Dec 14, 2023
1 parent 262b7e9 commit 20be722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
$name = (gci nuget/*.nupkg -Recurse)[0].Name
$version = $name.Substring($name.IndexOf(".") + 1)
$version = $version.Substring(0, $version.LastIndexOf("."))
echo "PackageVersion=$version" >> $GITHUB_OUTPUT
Write-Output "PackageVersion=$version" | Out-File "${env:GITHUB_OUTPUT}" -Append
- name: Pack
run: |
cd src/Jab.Unity
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
$name = (gci nuget/*.nupkg -Recurse)[0].Name
$version = $name.Substring($name.IndexOf(".") + 1)
$version = $version.Substring(0, $version.LastIndexOf("."))
"::set-output name=FunctionalTestPackageVersion::$version"
Write-Output "FunctionalTestPackageVersion=$version" | Out-File "${env:GITHUB_OUTPUT}" -Append
- name: Test
run: dotnet test eng/FunctionaTests.proj /p:FunctionalTestTargetFrameworks=${{ matrix.tfm }} /p:RestoreAdditionalProjectSources=${{ github.workspace }}/nuget /p:FunctionalTestPackageVersion=${{ needs.build.outputs.PackageVersion }}
publish:
Expand Down

0 comments on commit 20be722

Please sign in to comment.