Skip to content

Commit

Permalink
test: change dir
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy committed Sep 25, 2024
1 parent 74334b5 commit 25c677f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Move multiple OpenAPI specs files in one directory into individual directories
run: |
# Find all directories containing multiple *.yaml or *.yml files
find "docs" -type d | while read -r DIR; do
find "${{ env.API_COLLECTOR_DIR }}/docs" -type d | while read -r DIR; do
# Count how many YAML/YML files are in the current directory
FILES=($(find "$DIR" -maxdepth 1 -type f \( -name "*.yaml" -o -name "*.yml" \)))
# If there are more than one YAML file in the directory
Expand Down

0 comments on commit 25c677f

Please sign in to comment.