diff --git a/.github/workflows/NightlyRelease.yml b/.github/workflows/NightlyRelease.yml index de2ae75..260fb8b 100644 --- a/.github/workflows/NightlyRelease.yml +++ b/.github/workflows/NightlyRelease.yml @@ -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 diff --git a/.github/workflows/_Checking_Nightly.yml b/.github/workflows/_Checking_Nightly.yml index 4c2e64a..b4e5040 100644 --- a/.github/workflows/_Checking_Nightly.yml +++ b/.github/workflows/_Checking_Nightly.yml @@ -51,6 +51,7 @@ jobs: actions: write # attestations: write with: + can-fail: true prerelease: true replacements: | version=4.2.0 @@ -88,6 +89,7 @@ jobs: actions: write # attestations: write with: + can-fail: true replacements: | version=4.2.0 tool=myTool @@ -105,6 +107,7 @@ jobs: inventory-version: 4.2.5 inventory-categories: "kind1,kind2" assets: | + # artifact: file: labels: asset title document: document1.txt: doc,html: Documentation document: build.log: build,log: Logfile - %tool% - %tool% other: document1.txt: build,SBOM:SBOM - %version%