From ace04e38615bd21baed30e6056b3c8711bafd634 Mon Sep 17 00:00:00 2001 From: zawarkhan1 Date: Fri, 16 Feb 2024 14:37:16 +0500 Subject: [PATCH] test --- .github/workflows/push.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 1c7ae2a..97140d4 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -26,8 +26,12 @@ jobs: - name: List YAML files and set environment variable run: | - SPEC_FILES=$(find artifacts -type f -name "*.yaml" -printf "%P,true," | sed 's/,$//') - echo "SPEC_FILES=$SPEC_FILES" >> $GITHUB_ENV + SPEC_FILES="" + for file in $(find artifacts -type f -name "*.yaml"); do + filename=$(basename "$file") + SPEC_FILES="$SPEC_FILES${filename//_/-}:true," + done + echo "SPEC_FILES=${SPEC_FILES%,}" >> $GITHUB_ENV - name: Import YAML files into Microcks uses: microcks/import-github-action@v1