Skip to content

Commit

Permalink
Merge pull request #20 from zawarkhan1/test1
Browse files Browse the repository at this point in the history
test
  • Loading branch information
zawarkhan1 authored Feb 16, 2024
2 parents 63fe9b2 + ace04e3 commit a1a57a9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1a57a9

Please sign in to comment.