Skip to content

Commit

Permalink
corrected output file for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatnema committed Oct 5, 2024
1 parent 04a2ed5 commit 3d01213
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ jobs:
echo "Listing all files"
ls -R
echo "Asserting GitHub Action"
if [ -f "./github-action/output/asyncapi.md" ]; then
if [ -f "./output/asyncapi.md" ]; then
echo "Files exist"
else
echo "Files do not exist:- ./github-action/output/asyncapi.md"
echo "Files do not exist:- ./output/asyncapi.md"
echo "Action failed"
exit 1
fi
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
echo "Listing all files"
ls -R
echo "Asserting GitHub Action"
if [ -f "./github-action/output/AnonymousSchema_1.ts" ]; then
if [ -f "./output/AnonymousSchema_1.ts" ]; then
echo "Models have been generated"
else
echo "Models have not been generated"
Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:
uses: ./
with:
command: convert
filepath: test/asyncapi.yml
filepath: github-action/test/asyncapi.yml
output: output/convert/asyncapi.yaml
- name: Assert GitHub Action
run: |
Expand Down

0 comments on commit 3d01213

Please sign in to comment.