From fc7ad1ad17200732f81c45d38ea48d420ff8f1ab Mon Sep 17 00:00:00 2001 From: Silvio Giebl Date: Thu, 18 Apr 2024 11:37:03 +0200 Subject: [PATCH] Update GitHub workflows --- .github/workflows/check.yml | 11 +++++++---- .github/workflows/releaseExtension.yml | 7 ++++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 4f40c81..45a772d 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,19 +1,22 @@ name: CI Check -on: [ push ] +on: + push: + branches: [ "**" ] jobs: check: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 11 - cache: gradle + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 - name: Login to Docker Hub uses: docker/login-action@v3 with: diff --git a/.github/workflows/releaseExtension.yml b/.github/workflows/releaseExtension.yml index 7b04780..70d5cc8 100644 --- a/.github/workflows/releaseExtension.yml +++ b/.github/workflows/releaseExtension.yml @@ -9,13 +9,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 11 - cache: gradle + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 - name: Build Zip run: ./gradlew hivemqExtensionZip - name: Upload Release Asset