diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 99d3828..4f40c81 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -14,5 +14,10 @@ jobs: distribution: temurin java-version: 11 cache: gradle + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_TOKEN }} - name: Check run: ./gradlew check diff --git a/.github/workflows/releaseExtension.yml b/.github/workflows/releaseExtension.yml index fd00c31..4ab4752 100644 --- a/.github/workflows/releaseExtension.yml +++ b/.github/workflows/releaseExtension.yml @@ -18,18 +18,12 @@ jobs: cache: gradle - name: Build Zip run: ./gradlew hivemqExtensionZip - - name: Get release - id: get_release - uses: bruceadams/get-release@v1.3.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload Release Asset - id: upload-release-asset uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.get_release.outputs.upload_url }} + upload_url: ${{ github.event.release.upload_url }} asset_path: ./build/hivemq-extension/hivemq-influxdb-extension-${{ github.event.release.name }}.zip asset_name: hivemq-influxdb-extension-${{ github.event.release.name }}.zip asset_content_type: application/zip