Conversation
I have modified the `.github/workflows/release.yaml` file and made the following changes:
- Removed the `repo` variable:
- This variable specifies which repository the release targets. Since its default value is the current repository, I believe leaving it empty is reasonable.
- Added `name`
- Added `tag_name`
- Added `body` to provide some contextual information.
|
Additionally, I noticed that the current Dockerfile is still using Chez 9.6.4. I'm not sure if the Dockerfile needs to be updated. |
In commit 0d79527, a modification was made to `.github/workflows/release.yaml`, adding the `--static` parameter in the "Compile executable on Linux musl" step. However, the corresponding `Dockerfile.musl` was not updated, which caused errors during the build process. This commit adds the `util-linux-static` package to `Dockerfile.musl`, allowing the build to proceed successfully.
|
fix: Fix Dockerfile.musl issue preventing --static compilation In commit 0d79527, a modification was made to |
|
I did not modify |
|
In the build-and-release process, the release step did not execute correctly due to repository permission settings. To allow the CI process to create release files properly, you need to set the repository's settings under Settings → Actions → General → Workflow permissions to "Read and write permissions." However, this may grant excessive workflow permissions, potentially leading to security issues. I hope you can weigh the pros and cons before deciding how to further improve the workflow in this regard. |
I have modified the
.github/workflows/release.yamlfile and made the following changes:repovariable:nametag_namebodyto provide some contextual information.It is worth noting that in the
softprops/action-gh-releaseaction, theoverwrite_filesvariable defaults toTrue. This means that when we explicitly specify atag_name, the workflow will not repeatedly create new releases but will instead update the files associated with the specified tag. I think this behavior is reasonable for automated builds. However, if you consider this behavior inappropriate, we could modify thetag_nameto a format likeautomated_build-${{ github.run_number }}. This way, a new release would be created for each commit.For more configurable options in
softprops/action-gh-release, you can refer to: https://github.com/softprops/action-gh-release#inputs