Skip to content

4.2.5

4.2.5 #3

name: Release Extension
on:
release:
types: [ published ]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
cache: gradle
- name: Build Zip
run: ./gradlew hivemqExtensionZip
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./build/hivemq-extension/hivemq-dns-cluster-discovery-${{ github.event.release.name }}.zip
asset_name: hivemq-dns-cluster-discovery-${{ github.event.release.name }}.zip
asset_content_type: application/zip