ci: remove --no-build from dotnet pack
commands
#4808
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This removes the
--no-build
flag fromdotnet pack
commands in thepublish-release-reusable.yml
workflow file. This was causing a failure with the following message:from this run: https://github.com/dafny-lang/dafny/actions/runs/6931560381/job/18866468076
This PR should unblock CI jobs for now, at the cost of a (maybe redundant?) rebuild of Dafny during each release job. I've left some notes below for root causing afterwards.
The last successful run of this workflow is here: https://github.com/dafny-lang/dafny/actions/runs/6921119802/job/18826708143
The first obvious difference to me is that, even though
dotnet-version: 6.0.x
was in the environment in both runs, the successful run used .NET 7 during thedotnet build
command:whereas the failing build used .NET 8.0:
Description
How has this been tested?
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.