Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
juraj-hrivnak committed Dec 22, 2024
1 parent 21facbb commit ad610fe
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,36 @@ jobs:
name: changelog
path: ${{ github.workspace }}/NEW_CHANGELOG.md

test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}

- run: ./gradlew jvmTest --stacktrace

- name: Upload the build report
if: failure()
uses: actions/upload-artifact@v4
with:
name: build-report
path: '**/build/reports'

build-jvm-jar:
name: Build JVM Jar
needs: [ test ]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -64,6 +92,7 @@ jobs:

build-jvm-dist-zip:
name: Build JVM ZIP Distribution
needs: [test]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -93,6 +122,7 @@ jobs:

build-jvm-dist-tar:
name: Build JVM Tar Distribution
needs: [test]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down

0 comments on commit ad610fe

Please sign in to comment.