Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 24 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ name: Java CI with Maven
on:
workflow_dispatch:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
build:
Expand All @@ -26,13 +26,31 @@ jobs:
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
java-version: "21"
distribution: "temurin"
cache: maven

- name: Prepare Hedera Solo
- name: "Setup jq"
uses: dcarbone/install-jq-action@v3
with:
version: "1.8.1"
force: "false"

- name: "Check jq"
# language=sh
run: |
which jq
jq --version

- name: Fix Kubernetes Repository
shell: bash
run: |
sudo rm -f /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update

- name: Prepare Hiero Solo
id: solo
uses: OpenElements/hedera-solo-action@v0.9
uses: OpenElements/hedera-solo-action@v0.3
with:
installMirrorNode: true

Expand All @@ -43,4 +61,3 @@ jobs:
HEDERA_PRIVATE_KEY: ${{ steps.solo.outputs.privateKey }}
HEDERA_NETWORK: hiero-solo-action
run: ./mvnw verify

Loading