Skip to content

Commit

Permalink
move up
Browse files Browse the repository at this point in the history
  • Loading branch information
effoeffi committed Mar 11, 2024
1 parent 8576396 commit debb6fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v4
- name: Running breaking action with petsotre to validate no error of unable to process file command 'output' successfully and invalid value and matching delimiter not found
id: test_breaking_changes_matching_delimiter_not_found
uses: oasdiff/oasdiff-action/breaking@v0.0.16
uses: ./breaking
with:
base: 'specs/petstore-base.yaml'
revision: 'specs/petstore-revision.yaml'
Expand Down
10 changes: 3 additions & 7 deletions breaking/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ else
breaking_changes=$(oasdiff breaking "$base" "$revision")
fi

# Writes the summary to log and updates GitHub Action summary
oasdiff breaking "$base" "$revision" "$flags --format githubactions"

# *** GitHub Action step output ***

# Output name should be in the syntax of multiple lines:
Expand All @@ -82,10 +85,3 @@ else
fi

echo "$delimiter" >>"$GITHUB_OUTPUT"

# *** END GitHub Action step output ***

# Updating GitHub Action summary with formatted output
flags="$flags --format githubactions"
# Writes the summary to log and updates GitHub Action summary
oasdiff breaking "$base" "$revision" $flags

0 comments on commit debb6fe

Please sign in to comment.