Skip to content

Commit 2b3d6fe

Browse files
authored
Fix publish gh-action
1 parent c2c0fcd commit 2b3d6fe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,18 @@ jobs:
99
environment: mavenCentralPublish
1010
runs-on: ubuntu-latest
1111
steps:
12+
- name: Configure git
13+
env:
14+
TOKEN: ${{ secrets.ACCESS_TOKEN }}
15+
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/"
1216
- name: Checkout
1317
uses: actions/checkout@v2
18+
- name: Checkout hivemq-platform
19+
run: |
20+
git clone https://github.com/hivemq/hivemq-platform.git ../hivemq-platform
21+
cd ../hivemq-platform
22+
git checkout "${GITHUB_REF##*/}" || true
23+
cd ../hivemq-kafka-extension-customization-sdk
1424
- name: Setup Java
1525
uses: actions/setup-java@v2
1626
with:

0 commit comments

Comments
 (0)