From 4069da0a747927be38ea99c60cf184d68f9e4f9c Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sat, 25 Jan 2025 21:59:34 +0100 Subject: [PATCH 1/8] Bumped dependencies. --- dist/requirements.txt | 2 +- pyproject.toml | 2 +- tests/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/requirements.txt b/dist/requirements.txt index 8586c51..778498a 100644 --- a/dist/requirements.txt +++ b/dist/requirements.txt @@ -1,2 +1,2 @@ wheel ~= 0.45 -twine ~= 6.0 +twine ~= 6.1 diff --git a/pyproject.toml b/pyproject.toml index ea7bdb4..1db67d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools ~= 75.5", + "setuptools ~= 75.8", "wheel ~= 0.45", "pyTooling ~= 8.0" ] diff --git a/tests/requirements.txt b/tests/requirements.txt index 2ad659b..bb0099f 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -8,6 +8,6 @@ pytest ~= 8.3 pytest-cov ~= 6.0 # Static Type Checking -mypy ~= 1.13 +mypy ~= 1.14 typing_extensions ~= 4.12 lxml ~= 5.3 From 0a338ae8b77fb6221a30f587c960ee402b7f5a21 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sat, 25 Jan 2025 21:59:55 +0100 Subject: [PATCH 2/8] Fixed badge URLS. --- doc/shields.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/shields.inc b/doc/shields.inc index 9498bc7..1ee2467 100644 --- a/doc/shields.inc +++ b/doc/shields.inc @@ -64,11 +64,11 @@ :target: https://pyTooling.github.io/pyTooling/ .. # Gitter -.. |SHIELD:svg:pyTooling-gitter| image:: https://img.shields.io/badge/chat-on%20gitter-4db797.?longCache=true&style=flat-square&logo=gitter&logoColor=e8ecef +.. |SHIELD:svg:pyTooling-gitter| image:: https://img.shields.io/badge/chat-on%20gitter-4db797?longCache=true&style=flat-square&logo=gitter&logoColor=e8ecef :alt: Documentation License :height: 22 :target: https://gitter.im/hdl/community -.. |SHIELD:png:pyTooling-gitter| image:: https://raster.shields.io/badge/chat-on%20gitter-4db797.?longCache=true&style=flat-square&logo=gitter&logoColor=e8ecef +.. |SHIELD:png:pyTooling-gitter| image:: https://raster.shields.io/badge/chat-on%20gitter-4db797?longCache=true&style=flat-square&logo=gitter&logoColor=e8ecef :alt: Documentation License :height: 22 :target: https://gitter.im/hdl/community From edc4ab3e866d9935ff1db0261fb39ebb2a941b27 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Fri, 21 Feb 2025 00:10:10 +0100 Subject: [PATCH 3/8] Bumped copyright year to 2025. --- doc/requirements.txt | 6 +++--- pyDummy/__init__.py | 4 ++-- pyExamples/Extensions/__init__.py | 4 ++-- pyproject.toml | 2 +- requirements.txt | 2 +- setup.py | 2 +- tests/platform/Specific.py | 2 +- tests/requirements.txt | 2 +- tests/unit/Dummy.py | 2 +- tests/unit/__init__.py | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index e34a515..884b5e0 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,9 +1,9 @@ -r ../requirements.txt -pyTooling ~= 8.0 +pyTooling ~= 8.1 # Enforce latest version on ReadTheDocs -sphinx ~= 8.1 +sphinx ~= 8.2 docutils ~= 0.21 docutils_stubs ~= 0.0.22 @@ -15,5 +15,5 @@ sphinxcontrib-mermaid ~= 1.0 autoapi >= 2.0.1 sphinx_design ~= 0.6.1 sphinx-copybutton >= 0.5.2 -sphinx_autodoc_typehints ~= 3.0 +sphinx_autodoc_typehints ~= 3.1 sphinx_reports ~= 0.7 diff --git a/pyDummy/__init__.py b/pyDummy/__init__.py index f8050ce..c453bd0 100644 --- a/pyDummy/__init__.py +++ b/pyDummy/__init__.py @@ -11,7 +11,7 @@ # # # License: # # ==================================================================================================================== # -# Copyright 2017-2024 Patrick Lehmann - Bötzingen, Germany # +# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # @@ -34,7 +34,7 @@ A module for a set of dummy classes. __author__ = "Patrick Lehmann" __email__ = "Paebbels@gmail.com" -__copyright__ = "2017-2024, Patrick Lehmann" +__copyright__ = "2017-2025, Patrick Lehmann" __license__ = "Apache License, Version 2.0" __version__ = "0.4.4" __keywords__ = ["GitHub Actions"] diff --git a/pyExamples/Extensions/__init__.py b/pyExamples/Extensions/__init__.py index 437cb70..7afe407 100644 --- a/pyExamples/Extensions/__init__.py +++ b/pyExamples/Extensions/__init__.py @@ -11,7 +11,7 @@ # # # License: # # ==================================================================================================================== # -# Copyright 2017-2024 Patrick Lehmann - Bötzingen, Germany # +# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # @@ -34,7 +34,7 @@ A module for a set of dummy classes. __author__ = "Patrick Lehmann" __email__ = "Paebbels@gmail.com" -__copyright__ = "2017-2024, Patrick Lehmann" +__copyright__ = "2017-2025, Patrick Lehmann" __license__ = "Apache License, Version 2.0" __version__ = "0.14.8" __keywords__ = ["GitHub Actions"] diff --git a/pyproject.toml b/pyproject.toml index 1db67d4..0d5e5f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ "setuptools ~= 75.8", "wheel ~= 0.45", - "pyTooling ~= 8.0" + "pyTooling ~= 8.1" ] build-backend = "setuptools.build_meta" diff --git a/requirements.txt b/requirements.txt index 4db3549..9ce072f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -pyTooling ~= 8.0 +pyTooling ~= 8.1 diff --git a/setup.py b/setup.py index 4c4e234..af9a65c 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ # # # License: # # ==================================================================================================================== # -# Copyright 2017-2024 Patrick Lehmann - Bötzingen, Germany # +# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # diff --git a/tests/platform/Specific.py b/tests/platform/Specific.py index 1ccea7d..8ce4fe5 100644 --- a/tests/platform/Specific.py +++ b/tests/platform/Specific.py @@ -11,7 +11,7 @@ # # # License: # # ==================================================================================================================== # -# Copyright 2017-2024 Patrick Lehmann - Bötzingen, Germany # +# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # diff --git a/tests/requirements.txt b/tests/requirements.txt index bb0099f..b20836a 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -8,6 +8,6 @@ pytest ~= 8.3 pytest-cov ~= 6.0 # Static Type Checking -mypy ~= 1.14 +mypy ~= 1.15 typing_extensions ~= 4.12 lxml ~= 5.3 diff --git a/tests/unit/Dummy.py b/tests/unit/Dummy.py index 2fb41d7..798b07c 100644 --- a/tests/unit/Dummy.py +++ b/tests/unit/Dummy.py @@ -11,7 +11,7 @@ # # # License: # # ==================================================================================================================== # -# Copyright 2017-2024 Patrick Lehmann - Bötzingen, Germany # +# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py index 5a7925f..78d8bba 100644 --- a/tests/unit/__init__.py +++ b/tests/unit/__init__.py @@ -11,7 +11,7 @@ # # # License: # # ==================================================================================================================== # -# Copyright 2017-2024 Patrick Lehmann - Bötzingen, Germany # +# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # From d74c610bb478721307e9c8e501f0e05cd5c358c2 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Fri, 21 Feb 2025 00:10:27 +0100 Subject: [PATCH 4/8] Fixed Bash syntax. --- .github/workflows/SphinxDocumentation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/SphinxDocumentation.yml b/.github/workflows/SphinxDocumentation.yml index d0e333e..6a0ee10 100644 --- a/.github/workflows/SphinxDocumentation.yml +++ b/.github/workflows/SphinxDocumentation.yml @@ -227,7 +227,7 @@ jobs: if [[ $found -eq 0 ]]; then printf "[SKIPPED]\n" fi - done <<<$(find . -type f -not -iname "*.cls" -not -iname "*.sty" -not -iname "*.xdy" -not -iname "*.svg" -not -iname "*.png" -not -iname "*.jpg" | sed 's:./::') + done < <(find . -type f -not -iname "*.cls" -not -iname "*.sty" -not -iname "*.xdy" -not -iname "*.svg" -not -iname "*.png" -not -iname "*.jpg" | sed 's:./::') - name: Workaround II - https://github.com/sphinx-doc/sphinx/issues/13189 if: inputs.latex_artifact != '' @@ -259,7 +259,7 @@ jobs: printf "[FAILED]\n" fi fi - done <<<$(find . -type f -iname "*.$imageExt" | sed 's:./::') + done < <(find . -type f -iname "*.$imageExt" | sed 's:./::') done - name: 📤 Upload 'LaTeX Documentation' artifact From c018acc3c1b4e693504df730731a722b2f129dcf Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Wed, 26 Feb 2025 18:19:37 +0100 Subject: [PATCH 5/8] Bumped dependencies and fixed Bash coding style. --- .github/workflows/NightlyRelease.yml | 2 +- .github/workflows/Parameters.yml | 7 ++++--- doc/requirements.txt | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/NightlyRelease.yml b/.github/workflows/NightlyRelease.yml index d982f85..2b25e4b 100644 --- a/.github/workflows/NightlyRelease.yml +++ b/.github/workflows/NightlyRelease.yml @@ -197,7 +197,7 @@ jobs: ANSI_LIGHT_RED=$'\x1b[91m' ANSI_LIGHT_GREEN=$'\x1b[92m' ANSI_LIGHT_YELLOW=$'\x1b[93m' - ANSI_LIGHT_BLUE="\e[94m" + ANSI_LIGHT_BLUE=$'\x1b[94m' ANSI_NOCOLOR=$'\x1b[0m' export GH_TOKEN=${{ github.token }} diff --git a/.github/workflows/Parameters.yml b/.github/workflows/Parameters.yml index 179a726..2e82729 100644 --- a/.github/workflows/Parameters.yml +++ b/.github/workflows/Parameters.yml @@ -197,9 +197,10 @@ jobs: "3.13": { "icon": "🟢", "until": "2029.10" }, "3.14": { "icon": "🟣", "until": "2030.10" }, "pypy-3.7": { "icon": "⟲⚫", "until": "????.??" }, - "pypy-3.8": { "icon": "⟲🔴", "until": "????.??" }, - "pypy-3.9": { "icon": "⟲🟠", "until": "????.??" }, - "pypy-3.10": { "icon": "⟲🟡", "until": "????.??" }, + "pypy-3.8": { "icon": "⟲⚫", "until": "????.??" }, + "pypy-3.9": { "icon": "⟲🔴", "until": "????.??" }, + "pypy-3.10": { "icon": "⟲🟠", "until": "????.??" }, + "pypy-3.11": { "icon": "⟲🟡", "until": "????.??" }, }, # Runner systems (runner images) supported by GitHub Actions "sys": { diff --git a/doc/requirements.txt b/doc/requirements.txt index 884b5e0..5665d1d 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,6 +1,6 @@ -r ../requirements.txt -pyTooling ~= 8.1 +pyTooling ~= 8.2 # Enforce latest version on ReadTheDocs sphinx ~= 8.2 diff --git a/pyproject.toml b/pyproject.toml index 0d5e5f0..74c4ee3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ "setuptools ~= 75.8", "wheel ~= 0.45", - "pyTooling ~= 8.1" + "pyTooling ~= 8.2" ] build-backend = "setuptools.build_meta" diff --git a/requirements.txt b/requirements.txt index 9ce072f..2c498e0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -pyTooling ~= 8.1 +pyTooling ~= 8.2 From d6fc0efd4704d5af2c100120092b48d3a4d686d8 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Fri, 28 Feb 2025 22:39:47 +0100 Subject: [PATCH 6/8] Improved indentation for error messages. --- .github/workflows/NightlyRelease.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/NightlyRelease.yml b/.github/workflows/NightlyRelease.yml index 2b25e4b..7b9b801 100644 --- a/.github/workflows/NightlyRelease.yml +++ b/.github/workflows/NightlyRelease.yml @@ -124,7 +124,7 @@ jobs: printf "%s\n" "${ANSI_LIGHT_YELLOW}[NOT FOUND]${ANSI_NOCOLOR}" else printf "%s\n" "${ANSI_LIGHT_RED}[FAILED]${ANSI_NOCOLOR}" - printf "%s\n" "${ANSI_LIGHT_RED}Couldn't delete release '${{ inputs.nightly_name }}' -> Error: '${message}'.${ANSI_NOCOLOR}" + printf " %s\n" "${ANSI_LIGHT_RED}Couldn't delete release '${{ inputs.nightly_name }}' -> Error: '${message}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=InternalError::Couldn't delete release '${{ inputs.nightly_name }}' -> Error: '${message}'." exit 1 fi @@ -184,7 +184,7 @@ jobs: printf "%s\n" "${ANSI_LIGHT_GREEN}[OK]${ANSI_NOCOLOR}" else printf "%s\n" "${ANSI_LIGHT_RED}[FAILED]${ANSI_NOCOLOR}" - printf "%s\n" "${ANSI_LIGHT_RED}Couldn't create release '${{ inputs.nightly_name }}' -> Error: '${message}'.${ANSI_NOCOLOR}" + printf " %s\n" "${ANSI_LIGHT_RED}Couldn't create release '${{ inputs.nightly_name }}' -> Error: '${message}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=InternalError::Couldn't create release '${{ inputs.nightly_name }}' -> Error: '${message}'." exit 1 fi @@ -303,7 +303,7 @@ jobs: printf "%s\n" "${ANSI_LIGHT_GREEN}[OK]${ANSI_NOCOLOR}" else printf "%s\n" "${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" - printf "%s\n" "${ANSI_LIGHT_RED}Couldn't download artifact '${artifact}'.${ANSI_NOCOLOR}" + printf " %s\n" "${ANSI_LIGHT_RED}Couldn't download artifact '${artifact}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=ArtifactNotFound::Couldn't download artifact '${artifact}'." ERRORS=1 continue @@ -355,7 +355,7 @@ jobs: uploadFile="${asset}" else printf " %s\n" "Compression ${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" - printf "%s\n" "${ANSI_LIGHT_RED}Couldn't compress '${artifact}' to zip file '${asset}'.${ANSI_NOCOLOR}" + printf " %s\n" "${ANSI_LIGHT_RED}Couldn't compress '${artifact}' to zip file '${asset}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=CompressionError::Couldn't compress '${artifact}' to zip file '${asset}'." ERRORS=1 continue @@ -384,7 +384,7 @@ jobs: uploadFile="${asset}" else printf " %s\n" "Compression ${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" - printf "%s\n" "${ANSI_LIGHT_RED}Couldn't compress '${artifact}' to tgz file '${asset}'.${ANSI_NOCOLOR}" + printf " %s\n" "${ANSI_LIGHT_RED}Couldn't compress '${artifact}' to tgz file '${asset}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=CompressionError::Couldn't compress '${artifact}' to tgz file '${asset}'." ERRORS=1 continue @@ -413,7 +413,7 @@ jobs: uploadFile="${asset}" else printf " %s\n" "Compression ${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" - printf "%s\n" "${ANSI_LIGHT_RED}Couldn't compress '${artifact}' to zst file '${asset}'.${ANSI_NOCOLOR}" + printf " %s\n" "${ANSI_LIGHT_RED}Couldn't compress '${artifact}' to zst file '${asset}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=CompressionError::Couldn't compress '${artifact}' to zst file '${asset}'." ERRORS=1 continue @@ -423,7 +423,7 @@ jobs: uploadFile="${artifact}/${asset}" else printf "%s\n" "${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" - printf "%s\n" "${ANSI_LIGHT_RED}Couldn't find asset '${asset}' in artifact '${artifact}'.${ANSI_NOCOLOR}" + printf " %s\n" "${ANSI_LIGHT_RED}Couldn't find asset '${asset}' in artifact '${artifact}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=FileNotFound::Couldn't find asset '${asset}' in artifact '${artifact}'." ERRORS=1 continue @@ -463,7 +463,7 @@ jobs: printf "%s\n" "${ANSI_LIGHT_GREEN}[OK]${ANSI_NOCOLOR}" else printf "%s\n" "${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" - printf "%s\n" "${ANSI_LIGHT_RED}Couldn't upload asset '${asset}' from '${uploadFile}' to release '${{ inputs.nightly_name }}'.${ANSI_NOCOLOR}" + printf " %s\n" "${ANSI_LIGHT_RED}Couldn't upload asset '${asset}' from '${uploadFile}' to release '${{ inputs.nightly_name }}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=UploadError::Couldn't upload asset '${asset}' from '${uploadFile}' to release '${{ inputs.nightly_name }}'." ERRORS=1 continue @@ -486,7 +486,7 @@ jobs: printf "%s\n" "${ANSI_LIGHT_GREEN}[OK]${ANSI_NOCOLOR}" else printf "%s\n" "${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" - printf "%s\n" "${ANSI_LIGHT_RED}Couldn't upload asset '${{ inputs.inventory-json }}' to release '${{ inputs.nightly_name }}'.${ANSI_NOCOLOR}" + printf " %s\n" "${ANSI_LIGHT_RED}Couldn't upload asset '${{ inputs.inventory-json }}' to release '${{ inputs.nightly_name }}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=UploadError::Couldn't upload asset '${{ inputs.inventory-json }}' to release '${{ inputs.nightly_name }}'." ERRORS=1 continue @@ -520,6 +520,6 @@ jobs: printf "%s\n" "${ANSI_LIGHT_GREEN}[OK]${ANSI_NOCOLOR}" else printf "%s\n" "${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" - printf "%s\n" "${ANSI_LIGHT_RED}Couldn't remove draft-state from release '${{ inputs.nightly_name }}'.${ANSI_NOCOLOR}" + printf " %s\n" "${ANSI_LIGHT_RED}Couldn't remove draft-state from release '${{ inputs.nightly_name }}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=ReleasePage::Couldn't remove draft-state from release '${{ inputs.nightly_name }}'." fi From befc59f22d3581c883163c31a067898fd8f6acf0 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Fri, 28 Feb 2025 22:40:25 +0100 Subject: [PATCH 7/8] Fixed check for previous errors. --- .github/workflows/NightlyRelease.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/NightlyRelease.yml b/.github/workflows/NightlyRelease.yml index 7b9b801..a9a1c60 100644 --- a/.github/workflows/NightlyRelease.yml +++ b/.github/workflows/NightlyRelease.yml @@ -497,8 +497,8 @@ jobs: tree -pash -L 3 . printf "::endgroup::\n" - if [[ $ERROR -ne 0 ]]; then - printf "%s\n" "${ANSI_LIGHT_RED}Errors detected in previous steps.${ANSI_NOCOLOR}" + if [[ $ERRORS -ne 0 ]]; then + printf "%s\n" "${ANSI_LIGHT_RED}${ERRORS} errors detected in previous steps.${ANSI_NOCOLOR}" exit 1 fi From a456635686d5cee44c283bad0c548004faee4371 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Fri, 28 Feb 2025 22:43:49 +0100 Subject: [PATCH 8/8] Increment on errors. --- .github/workflows/NightlyRelease.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/NightlyRelease.yml b/.github/workflows/NightlyRelease.yml index a9a1c60..de2ae75 100644 --- a/.github/workflows/NightlyRelease.yml +++ b/.github/workflows/NightlyRelease.yml @@ -285,7 +285,7 @@ jobs: if [[ -n "${assetFilenames[$asset]}" ]]; then printf "%s\n" "${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" printf "%s\n" "::error title=DuplicateAsset::Asset '${asset}' from artifact '${artifact}' was already uploaded to release '${{ inputs.nightly_name }}'." - ERRORS=1 + ERRORS=$((ERRORS + 1)) continue else printf "%s\n" "${ANSI_LIGHT_GREEN}[OK]${ANSI_NOCOLOR}" @@ -305,7 +305,7 @@ jobs: printf "%s\n" "${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" printf " %s\n" "${ANSI_LIGHT_RED}Couldn't download artifact '${artifact}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=ArtifactNotFound::Couldn't download artifact '${artifact}'." - ERRORS=1 + ERRORS=$((ERRORS + 1)) continue fi downloadedArtifacts[$artifact]=1 @@ -357,7 +357,7 @@ jobs: printf " %s\n" "Compression ${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" printf " %s\n" "${ANSI_LIGHT_RED}Couldn't compress '${artifact}' to zip file '${asset}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=CompressionError::Couldn't compress '${artifact}' to zip file '${asset}'." - ERRORS=1 + ERRORS=$((ERRORS + 1)) continue fi elif [[ "${asset}" == !*.tgz || "${asset}" == !*.tar.gz || "${asset}" == \$*.tgz || "${asset}" == \$*.tar.gz ]]; then @@ -386,7 +386,7 @@ jobs: printf " %s\n" "Compression ${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" printf " %s\n" "${ANSI_LIGHT_RED}Couldn't compress '${artifact}' to tgz file '${asset}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=CompressionError::Couldn't compress '${artifact}' to tgz file '${asset}'." - ERRORS=1 + ERRORS=$((ERRORS + 1)) continue fi elif [[ "${asset}" == !*.tzst || "${asset}" == !*.tar.zst || "${asset}" == \$*.tzst || "${asset}" == \$*.tar.zst ]]; then @@ -415,7 +415,7 @@ jobs: printf " %s\n" "Compression ${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" printf " %s\n" "${ANSI_LIGHT_RED}Couldn't compress '${artifact}' to zst file '${asset}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=CompressionError::Couldn't compress '${artifact}' to zst file '${asset}'." - ERRORS=1 + ERRORS=$((ERRORS + 1)) continue fi elif [[ -e "${artifact}/${asset}" ]]; then @@ -425,7 +425,7 @@ jobs: printf "%s\n" "${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" printf " %s\n" "${ANSI_LIGHT_RED}Couldn't find asset '${asset}' in artifact '${artifact}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=FileNotFound::Couldn't find asset '${asset}' in artifact '${artifact}'." - ERRORS=1 + ERRORS=$((ERRORS + 1)) continue fi @@ -465,7 +465,7 @@ jobs: printf "%s\n" "${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" printf " %s\n" "${ANSI_LIGHT_RED}Couldn't upload asset '${asset}' from '${uploadFile}' to release '${{ inputs.nightly_name }}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=UploadError::Couldn't upload asset '${asset}' from '${uploadFile}' to release '${{ inputs.nightly_name }}'." - ERRORS=1 + ERRORS=$((ERRORS + 1)) continue fi done <<<'${{ inputs.assets }}' @@ -488,7 +488,7 @@ jobs: printf "%s\n" "${ANSI_LIGHT_RED}[ERROR]${ANSI_NOCOLOR}" printf " %s\n" "${ANSI_LIGHT_RED}Couldn't upload asset '${{ inputs.inventory-json }}' to release '${{ inputs.nightly_name }}'.${ANSI_NOCOLOR}" printf "%s\n" "::error title=UploadError::Couldn't upload asset '${{ inputs.inventory-json }}' to release '${{ inputs.nightly_name }}'." - ERRORS=1 + ERRORS=$((ERRORS + 1)) continue fi fi