This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch release/1.10.0
in repository https://gitbox.apache.org/repos/asf/logging-parent.git


The following commit(s) were added to refs/heads/release/1.10.0 by this push:
     new 9825a80  Fix YAML escaping issue, 6h time
9825a80 is described below

commit 9825a805f10a2204ed90dac6960bd698afc13fe1
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Mon Sep 4 13:27:49 2023 +0200

    Fix YAML escaping issue, 6h time
---
 .github/workflows/deploy-release-reusable.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/deploy-release-reusable.yml 
b/.github/workflows/deploy-release-reusable.yml
index 4d84d44..62cc74c 100644
--- a/.github/workflows/deploy-release-reusable.yml
+++ b/.github/workflows/deploy-release-reusable.yml
@@ -31,8 +31,8 @@ on:
       # `distribution-*` input defaults should match the ones in `pom.xml`!
       distribution-attachment-filepath-pattern:
         description: The regex pattern matched against the full filepath for 
determining attachments to be included in the distribution
-        # Below `\$` are placed to avoid `bad substitution` failures in CI
-        default: ^.*/target/log4j-(.+)-\${project.version}(-tests)?\.jar\$
+        default: >
+          '^.*/target/log4j-(.+)-'${PROJECT_VERSION}'(-tests)?\\.jar$'
         type: string
       distribution-attachment-count:
         description: The number of attachments expected to be found
@@ -104,7 +104,7 @@ jobs:
           ./mvnw \
             --show-version --batch-mode --errors --no-transfer-progress \
             --non-recursive -P distribution \
-            -DattachmentFilepathPattern='${{ 
inputs.distribution-attachment-filepath-pattern }}' \
+            -DattachmentFilepathPattern=${{ 
inputs.distribution-attachment-filepath-pattern }} \
             -DattachmentCount=${{ inputs.distribution-attachment-count }}
           export DIST_FILENAME_PREFIX="apache-${{ inputs.project-name }}"
           export 
DIST_FILENAME_VERSIONED_PREFIX="${DIST_FILENAME_PREFIX}-${PROJECT_VERSION}"

Reply via email to