Skip to content

Add release workflow #1

Add release workflow

Add release workflow #1

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: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: kop-nar
path: ./kafka-impl/targets/*.nar