Skip to content

Commit

Permalink
update dotnet pack to full path vs relative
Browse files Browse the repository at this point in the history
  • Loading branch information
daveboster committed Nov 25, 2023
1 parent ed0be05 commit bdf40cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tasks-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:
project-file: src/Tasks/Tasks.csproj
project-package-id: Boster.Training.Tasks.DotNet
configuration: Release
build-output: ./build
build-output: ${{ github.workspace }}/build

jobs:
build:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
id: build
shell: pwsh
run: |
dotnet build ${{ env.project-file }} --no-restore --configuration ${{ env.configuration }} -p:GenerateRuntimeConfigurationFiles=true -p:Version=${{ steps.build-info.outputs.version }} --output ${{ env.build-output }}/${{ env.project }}
dotnet build ${{ env.project-file }} --no-restore --configuration ${{ env.configuration }} -p:Version=${{ steps.build-info.outputs.version }} --output ${{ env.build-output }}/${{ env.project }}
[System.Reflection.Assembly]::LoadFrom("${{ env.build-output }}/${{ env.project }}/${{ env.project }}.dll").GetName().Version
echo "package_id=${{ env.project-package-id }}" >> $env:GITHUB_OUTPUT
echo "output=${{ env.build-output }}/${{ env.project }}" >> $env:GITHUB_OUTPUT
Expand Down

0 comments on commit bdf40cb

Please sign in to comment.