Skip to content

Commit 1bd3876

Browse files
NFC-82 Github temporary build fix
Signed-off-by: Sander Kondratjev <[email protected]>
1 parent 583e8bd commit 1bd3876

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/maven-build-example.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- name: Checkout current branch
23+
uses: actions/checkout@v4
24+
with:
25+
ref: ${{ github.head_ref || github.ref }} // TODO revert, currently for github build
2326

2427
- uses: actions/setup-java@v4
2528
with:

.github/workflows/maven-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v4
18+
- name: Checkout current branch
19+
uses: actions/checkout@v4
20+
with:
21+
ref: ${{ github.head_ref || github.ref }} // TODO revert, currently for github build
1922

2023
- uses: actions/setup-java@v4
2124
with:

0 commit comments

Comments
 (0)