File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 5858
5959 - name : 🔍 Detect Changes
6060 uses : Adyen/adyen-swift-public-api-diff@github-action
61+ id : public_api_diff
6162 with :
6263 platform : " macOS"
6364 new : ${{ env.NEW_VERSION }}
6768 name : 📝 Comment on PR
6869 uses : thollander/actions-comment-pull-request@v3
6970 with :
70- file-path : " ${{ github.workspace }}/api_comparison.md "
71+ file-path : " ${{ steps.public_api_diff.outputs.filepath }}"
7172 comment-tag : api_changes
7273 mode : recreate
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ inputs:
1111 description : ' Specify the old version to compare to'
1212 required : true
1313outputs :
14- markdown :
15- description : ' The generated markdown output'
14+ filepath :
15+ description : ' The filepath to the generated markdown output'
1616runs :
1717 using : ' composite'
1818 steps :
2525 echo $PROJECT_FOLDER
2626 swift run public-api-diff project --new "$NEW" --old "$OLD" --platform "$PLATFORM" --output "$PROJECT_FOLDER/api_comparison.md" --log-level debug --log-output "$PROJECT_FOLDER/logs.txt"
2727 cat "$PROJECT_FOLDER/logs.txt"
28- echo "markdown =\"$(cat "$ PROJECT_FOLDER/api_comparison.md") \"" >> $GITHUB_OUTPUT
28+ echo "filepath =\"$PROJECT_FOLDER/api_comparison.md\"" >> $GITHUB_OUTPUT
2929 shell : bash
3030
3131
You can’t perform that action at this time.
0 commit comments