.github: Add comments to release workflow

Add more details on parts of the steps.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-10-04 09:11:15 +02:00 committed by Marc Herbert
parent c6d96c8364
commit 979ef4e90a
1 changed files with 3 additions and 1 deletions

View File

@ -20,9 +20,10 @@ jobs:
# Make the GH environment explicit # Make the GH environment explicit
environment: release environment: release
# Mandatory for trusted publishing
permissions: permissions:
# Mandatory for attaching assets to releases
contents: write contents: write
# Mandatory for trusted publishing
id-token: write id-token: write
steps: steps:
@ -31,6 +32,7 @@ jobs:
with: with:
path: dist/ path: dist/
# The assets can be attached to an existing release, if a matching tag is found
- name: Upload release assets - name: Upload release assets
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with: