Skip to content

1.2.1-PRE Streamed export #1

1.2.1-PRE Streamed export

1.2.1-PRE Streamed export #1

Workflow file for this run

name: Build and Release JAR
on:
push:
branches:
- main
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- name: Build with Maven
run: mvn clean package
- name: Archive build artifacts
uses: actions/upload-artifact@v3
with:
name: neo4j2owl-jar
path: target/*.jar
release:
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'release'
steps:
- name: Download build artifact
uses: actions/download-artifact@v3
with:
name: neo4j2owl-jar
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
files: neo4j2owl-jar/*.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}