Skip to content

Create a release from a tag #9

Create a release from a tag

Create a release from a tag #9

Workflow file for this run

name: Create a release from a tag
on:
push:
tags:
- "v*.*.*"
- "v*.*"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
#we are skipping tests as tests are executed when creating a tag
run: mvn -B package --file pom.xml -DskipTests
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
Release.txt
connector/target/kafka-questdb-connector-*-bin.zip
draft: true