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 1616 steps :
1717 - name : 🍱 Compute prerequisites
1818 run : |
19- echo "VERSION_NUMBER=$(uuidgen) " >> $GITHUB_ENV
19+ echo "VERSION_NUMBER=0.8.2 " >> $GITHUB_ENV
2020 echo "BINARY_PATH=$(swift build --configuration release --show-bin-path)/public-api-diff" >> $GITHUB_ENV
2121 echo "HEAD_GITHUB_REPO=${{github.server_url}}/${{ github.event.pull_request.head.repo.full_name || github.repository}}.git" >> $GITHUB_ENV
2222 echo "BASE_GITHUB_REPO=${{github.server_url}}/${{github.repository}}.git" >> $GITHUB_ENV
2626 - uses : actions/checkout@v4
2727 with :
2828 repository : " Adyen/adyen-swift-public-api-diff"
29+ ref : ${{ env.VERSION_NUMBER }}
2930
3031 - name : 🛻 Restore Binary
3132 id : cache-restore
@@ -67,13 +68,13 @@ runs:
6768 $BINARY_PATH project --new "$NEW" --old "$OLD" --platform "$PLATFORM" --output "$PROJECT_FOLDER/api_comparison.md" --log-output "$PROJECT_FOLDER/logs.txt"
6869 cat "$PROJECT_FOLDER/logs.txt"
6970
70- # if [[ ${{ env.HEAD_GITHUB_REPO != env.BASE_GITHUB_REPO }} ]]; then
71+ if [[ ${{ env.HEAD_GITHUB_REPO != env.BASE_GITHUB_REPO }} ]]; then
7172 echo "---" >> $GITHUB_STEP_SUMMARY
7273 echo "> [!IMPORTANT]" >> $GITHUB_STEP_SUMMARY
7374 echo "> **Commenting on pull requests from forks is not possible** due to insufficient permissions." >> $GITHUB_STEP_SUMMARY
7475 echo "> Once merged, the output will be posted as an auto-updating comment under the pull request." >> $GITHUB_STEP_SUMMARY
7576 echo "---" >> $GITHUB_STEP_SUMMARY
76- # fi
77+ fi
7778
7879 cat "$PROJECT_FOLDER/api_comparison.md" >> $GITHUB_STEP_SUMMARY
7980 shell : bash
You can’t perform that action at this time.
0 commit comments