File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 16
16
steps :
17
17
- name : 🍱 Compute prerequisites
18
18
run : |
19
- echo "VERSION_NUMBER=$(uuidgen) " >> $GITHUB_ENV
19
+ echo "VERSION_NUMBER=0.8.2 " >> $GITHUB_ENV
20
20
echo "BINARY_PATH=$(swift build --configuration release --show-bin-path)/public-api-diff" >> $GITHUB_ENV
21
21
echo "HEAD_GITHUB_REPO=${{github.server_url}}/${{ github.event.pull_request.head.repo.full_name || github.repository}}.git" >> $GITHUB_ENV
22
22
echo "BASE_GITHUB_REPO=${{github.server_url}}/${{github.repository}}.git" >> $GITHUB_ENV
26
26
- uses : actions/checkout@v4
27
27
with :
28
28
repository : " Adyen/adyen-swift-public-api-diff"
29
+ ref : ${{ env.VERSION_NUMBER }}
29
30
30
31
- name : 🛻 Restore Binary
31
32
id : cache-restore
@@ -67,13 +68,13 @@ runs:
67
68
$BINARY_PATH project --new "$NEW" --old "$OLD" --platform "$PLATFORM" --output "$PROJECT_FOLDER/api_comparison.md" --log-output "$PROJECT_FOLDER/logs.txt"
68
69
cat "$PROJECT_FOLDER/logs.txt"
69
70
70
- # if [[ ${{ env.HEAD_GITHUB_REPO != env.BASE_GITHUB_REPO }} ]]; then
71
+ if [[ ${{ env.HEAD_GITHUB_REPO != env.BASE_GITHUB_REPO }} ]]; then
71
72
echo "---" >> $GITHUB_STEP_SUMMARY
72
73
echo "> [!IMPORTANT]" >> $GITHUB_STEP_SUMMARY
73
74
echo "> **Commenting on pull requests from forks is not possible** due to insufficient permissions." >> $GITHUB_STEP_SUMMARY
74
75
echo "> Once merged, the output will be posted as an auto-updating comment under the pull request." >> $GITHUB_STEP_SUMMARY
75
76
echo "---" >> $GITHUB_STEP_SUMMARY
76
- # fi
77
+ fi
77
78
78
79
cat "$PROJECT_FOLDER/api_comparison.md" >> $GITHUB_STEP_SUMMARY
79
80
shell : bash
You can’t perform that action at this time.
0 commit comments