Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong assets source #84

Merged
merged 2 commits into from
Aug 22, 2023

Conversation

olivier-roussel
Copy link
Contributor

@olivier-roussel olivier-roussel commented Aug 9, 2023

Propagates #83 into master.
The softprops/action-gh-release Github action used in the CI to deploy assets was incorrectly configured to the master branch (default behavior), instead of the current release set by the sofa_branch field in the build-and-test matrix.
This lead to the following undesired behavior:

  • source code archives (zip and tar) were generated from master branch instead of release branch. Other assets (releases for Windows, Linux and MacOS) were generated from correct branch.
  • release tag pushed by this action (tag in the form release-<version>) was incorrectly set to master branch, which is invalid when current release is not master (such as v<version>).

This PR also allow the creation of the release to continue on failure, which typically occurs if one asset is missing such the macOS archive as the macCI is down. Similarly to what has been proposed to SofaPython3, SoftRobots, STLIB, BeamAdapter and ModelOrderReduction plugins.

@alxbilger alxbilger merged commit 3eb5e75 into SofaDefrost:master Aug 22, 2023
adagolodjo pushed a commit that referenced this pull request Dec 7, 2024
* Fix softprops/action-gh-release source from master to release branch.

* Continue creation of release if there is faulty one build (macOS).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants