diff --git a/.github/workflows/publish_package.yml b/.github/workflows/publish_package.yml index e2d454e..948a0bd 100644 --- a/.github/workflows/publish_package.yml +++ b/.github/workflows/publish_package.yml @@ -30,10 +30,10 @@ jobs: - name: Restore run: dotnet restore ${Solution_Path} -p:NoRestore=false - name: Build - run: dotnet build ${Solution_Path} -p:Version=${GitVersion_AssemblySemVer} -p:NoBuild=false + run: dotnet build ${Solution_Path} -p:Version=${{env.GitVersion_AssemblySemVer}} -p:NoBuild=false - name: Execute unit tests run: dotnet test ${Solution_Path} - name: Pack - run: dotnet msbuild -t:pack ${Solution_Path} -p:PackageVersion={GitVersion_NuGetVersion} + run: dotnet msbuild -t:pack ${Solution_Path} -p:PackageVersion=${{env.GitVersion_NuGetVersion}} - name: Push - run: dotnet nuget push ./src/Extended.Collections/bin/${Configuration}/*.nupkg --skip-duplicate --api-key ${{ secrets.NuGet_Api_Key }} --source ${{ vars.Nuget_Source_Url}} \ No newline at end of file + run: dotnet nuget push ./src/Extended.Collections/bin/${Configuration}/*.nupkg --skip-duplicate --api-key ${{secrets.NuGet_Api_Key}} --source ${{vars.Nuget_Source_Url}} \ No newline at end of file