aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoshua Sing <joshua@joshuasing.dev>2026-05-04 20:01:30 +1000
committerJoshua Sing <joshua@joshuasing.dev>2026-05-04 21:06:53 +1000
commit85f4c66646e91893eb80a4c75649511a7d3c33e6 (patch)
tree505f75b9972b23c74ac5bb36db7a6ca096c5f9f8 /include
parent1feb9300fbf4ec2103b423d9c72cd12856210b21 (diff)
downloadportable-85f4c66646e91893eb80a4c75649511a7d3c33e6.tar.gz
portable-85f4c66646e91893eb80a4c75649511a7d3c33e6.tar.bz2
portable-85f4c66646e91893eb80a4c75649511a7d3c33e6.zip
ci: rework release workflow for immutable releases
Switch the release workflow to create a draft release, and upload the build artifacts to the draft, using the gh CLI instead of softprops/action-gh-release. This prepares for enabling immutable releases, which require all assets to be uploaded prior to publishing. The release process now requires a maintainer to manually publish the draft release once all CI artifacts have been uploaded and any remaining assets (e.g. the source tarball, checksums and signatures files) have been attached. While modifying release.yml: - Tighten workflow permissions: default to no permissions and grant contents: write to both jobs. - Set persist-credentials: false on actions/checkout so the GITHUB_TOKEN is not left in .git/config during runs. - Set cancel-in-progress: false to prevent a second tag push from canceling an already-running workflow and leaving a dangling release. - Move all ${{ ... }} expressions in run blocks into env to avoid shell interpolation of workflow context values. - Add name key to every step in build-windows.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions