Skip to content

Commit 9597866

Browse files
committed
Avoid hardcoded folder prefix
1 parent ab638a5 commit 9597866

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/binary-compatibility.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ jobs:
3030
uses: actions/checkout@v2
3131
with:
3232
ref: ${{ github.base_ref }}
33-
path: assertj-core.${{ github.base_ref }}
33+
path: ${{ github.run_id }}.${{ github.base_ref }}
3434
- name: (PR only) Build `${{ github.base_ref }}`
3535
if: github.base_ref != null
36-
run: ./mvnw -V --no-transfer-progress -e -f assertj-core.${{ github.base_ref }}/pom.xml package -DskipTests
36+
run: ./mvnw -V --no-transfer-progress -e -f ${{ github.run_id }}.${{ github.base_ref }}/pom.xml package -DskipTests
3737
- name: (PR only) Compare `${{ github.head_ref }}` with `${{ github.base_ref }}`
3838
if: github.base_ref != null
3939
run: >
4040
./mvnw -V --no-transfer-progress -e -Pjapicmp-branch package japicmp:cmp
4141
-DskipTests
4242
-Djapicmp.breakBuildOnBinaryIncompatibleModifications=true
43-
-Djapicmp.oldVersion.basedir=assertj-core.${{ github.base_ref }}
43+
-Djapicmp.oldVersion.basedir=${{ github.run_id }}.${{ github.base_ref }}
4444
- name: (PR only) Add label
4545
if: github.base_ref != null && failure()
4646
uses: actions/github-script@v5

0 commit comments

Comments
 (0)