Skip to content

Commit fea8139

Browse files
committed
updating action
1 parent 48cbac3 commit fea8139

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

action.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,20 @@ runs:
1818
steps:
1919
- name: "Run Diff"
2020
run: |
21+
NEW=${{ github.event.inputs.new }}
22+
OLD=${{ github.event.inputs.old }}
23+
PLATFORM=${{ github.event.inputs.platform }}
24+
25+
echo "NEW: $NEW"
26+
echo "OLD: $OLD"
27+
echo "PLATFORM: $PLATFORM"
28+
2129
PROJECT_FOLDER=$PWD
2230
echo $PROJECT_FOLDER
2331
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"
2432
cat "$PROJECT_FOLDER/logs.txt"
2533
cat "$PROJECT_FOLDER/api_comparison.md" >> $GITHUB_OUTPUT
2634
shell: bash
27-
env:
28-
NEW=${{ github.event.inputs.new }}
29-
OLD=${{ github.event.inputs.old }}
30-
PLATFORM=${{ github.event.inputs.platform }}
35+
36+
37+

0 commit comments

Comments
 (0)