Skip to content

Commit

Permalink
Update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Oct 24, 2023
1 parent be35d85 commit af794f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 1 addition & 7 deletions .github/workflows/releaseExtension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit af794f7

Please sign in to comment.