Skip to content

Add release workflow #2

Add release workflow

Add release workflow #2

Workflow file for this run

name: Release
on:
# TODO: remove it
pull_request:
branches:
- master
push:
tags:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
name: Release KoP
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Build artifacts
run: mvn clean install -ntp -B -DskipTests
- name: Create package directory
run: |
mkdir packages
cp ./kafka-impl/target/*.nar packages/
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: packages
path: ./packages