Skip to content

Commit eadb869

Browse files
committed
Running the action
1 parent 3c1dccf commit eadb869

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/detect-api.changes.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,13 @@ jobs:
5555
target: '${{ github.event.inputs.old || github.event.pull_request.base.ref }}'
5656
githubRepo: '${{github.server_url}}/${{github.repository}}.git'
5757
noTargetBranch: 'no target branch'
58-
58+
5959
- name: 🔍 Detect Changes
60-
run: |
61-
echo "OUTPUTS: ${{ env }}"
62-
echo "NEW: ${{ env.NEW_VERSION }}"
63-
echo "OLD: ${{ env.OLD_VERSION }}"
64-
65-
PROJECT_FOLDER=$PWD
66-
echo $PROJECT_FOLDER
67-
swift run public-api-diff project --new "$NEW" --old "$OLD" --platform macos --output "$PROJECT_FOLDER/api_comparison.md" --log-level debug --log-output "$PROJECT_FOLDER/logs.txt"
68-
cat "$PROJECT_FOLDER/logs.txt"
69-
cat "$PROJECT_FOLDER/api_comparison.md" >> $GITHUB_STEP_SUMMARY
60+
uses: Adyen/adyen-swift-public-api-diff
61+
with:
62+
platform: "macOS"
63+
new: ${{ env.NEW_VERSION }}
64+
old: ${{ env.OLD_VERSION }}
7065

7166
- if: ${{ github.event.pull_request.base.ref != '' }}
7267
name: 📝 Comment on PR

0 commit comments

Comments
 (0)