diff --git a/.github/workflows/part-template-build.yml b/.github/workflows/part-template-build.yml index ad00950e3..ae2a3b72f 100644 --- a/.github/workflows/part-template-build.yml +++ b/.github/workflows/part-template-build.yml @@ -55,7 +55,7 @@ jobs: run: ./TestLocal.ps1 - name: dotnet pack - run: dotnet pack -p:Version=$($env:COALESCE_VERSION ?? '0.1.0') -p:PackageOutputPath="${{ github.workspace }}/out/packages" + run: dotnet pack -p:Version=$(!$env:COALESCE_VERSION ? '0.1.0' : $env:COALESCE_VERSION) -p:PackageOutputPath="${{ github.workspace }}/out/packages" - name: Upload Artifacts uses: actions/upload-artifact@v3