Skip to content

Commit 99d8619

Browse files
authored
Update action.yml
1 parent 61d2d00 commit 99d8619

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ runs:
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
23+
echo "PROJECT_FOLDER=$(pwd)" >> $GITHUB_ENV
2324
shell: bash
2425

2526
- uses: actions/checkout@v4
2627
with:
2728
repository: "Adyen/adyen-swift-public-api-diff"
28-
ref: ${{ env.VERSION_NUMBER }}
29+
# ref: ${{ env.VERSION_NUMBER }}
2930

3031
- name: 🛻 Restore Binary
3132
id: cache-restore
@@ -62,7 +63,8 @@ runs:
6263
OLD=${{ inputs.old }}
6364
PLATFORM=${{ inputs.platform }}
6465
BINARY_PATH=${{ env.BINARY_PATH }}
65-
PROJECT_FOLDER=$PWD
66+
67+
echo "Project folder: $PROJECT_FOLDER"
6668
6769
echo "▶️ Running binary at $BINARY_PATH"
6870
$BINARY_PATH project --new "$NEW" --old "$OLD" --platform "$PLATFORM" --output "$PROJECT_FOLDER/api_comparison.md" --log-output "$PROJECT_FOLDER/logs.txt"

0 commit comments

Comments
 (0)