Skip to content

Release v0.15.1

Release v0.15.1 #35

Workflow file for this run

name: Publish
on:
release:
types: [created]
jobs:
publish-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: ${{ github.ref }}
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_KEY }}
- name: Check
uses: eskatos/gradle-command-action@v1
with:
arguments: check
- name: Upload to Docker
uses: eskatos/gradle-command-action@v1
with:
arguments: jib
publish-github:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: ${{ github.ref }}
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Check
uses: eskatos/gradle-command-action@v1
with:
arguments: check
- name: Build zip
uses: eskatos/gradle-command-action@v1
with:
arguments: distZip
- name: Upload Release
id: upload-release-asset
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ./build/distributions/*.zip
file_glob: true