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 58
58
59
59
- name : 🔍 Detect Changes
60
60
uses : Adyen/adyen-swift-public-api-diff@github-action
61
+ id : public_api_diff
61
62
with :
62
63
platform : " macOS"
63
64
new : ${{ env.NEW_VERSION }}
67
68
name : 📝 Comment on PR
68
69
uses : thollander/actions-comment-pull-request@v3
69
70
with :
70
- file-path : " ${{ github.workspace }}/api_comparison.md "
71
+ file-path : " ${{ steps.public_api_diff.outputs.filepath }}"
71
72
comment-tag : api_changes
72
73
mode : recreate
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ inputs:
11
11
description : ' Specify the old version to compare to'
12
12
required : true
13
13
outputs :
14
- markdown :
15
- description : ' The generated markdown output'
14
+ filepath :
15
+ description : ' The filepath to the generated markdown output'
16
16
runs :
17
17
using : ' composite'
18
18
steps :
25
25
echo $PROJECT_FOLDER
26
26
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"
27
27
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
29
29
shell : bash
30
30
31
31
You can’t perform that action at this time.
0 commit comments