Allow comments in the list of assets.

This commit is contained in:
Patrick Lehmann
2025-03-01 22:08:28 +01:00
parent a456635686
commit c64e054bcd
2 changed files with 9 additions and 1 deletions

View File

@@ -84,11 +84,16 @@ on:
type: string
required: false
default: '__pyTooling_upload_artifact__.tar'
can-fail:
type: boolean
required: false
default: false
jobs:
Release:
name: 📝 Update 'Nightly Page' on GitHub
runs-on: ${{ inputs.ubuntu_image }}
continue-on-error: ${{ inputs.can-fail }}
permissions:
contents: write
actions: write
@@ -254,7 +259,7 @@ jobs:
# A dictionary to check for duplicate asset files in release
declare -A assetFilenames
while IFS=$'\r\n' read -r assetLine; do
if [[ "${assetLine}" == "" ]]; then
if [[ "${assetLine}" == "" || "${assetLine:0:1}" == "#" ]]; then
continue
fi