Skip to content

updated docs and package infos #28

updated docs and package infos

updated docs and package infos #28

Workflow file for this run

name: Build JAR with Maven
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '17'
- name: Build with Maven
run: mvn clean package -f ./JGNN/pom.xml -DskipTests
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v1.3.${{ github.run_number }}-nightly
release_name: Release v1.3.${{ github.run_number }}-nightly
draft: false
prerelease: true
continue-on-error: false
- name: Set upload_url environment variable
run: echo "upload_url=${{ steps.create_release.outputs.upload_url }}" >> $GITHUB_ENV
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ env.upload_url }}
asset_path: ./JGNN/target/JGNN-nightly.jar
asset_name: JGNN v1.3.${{ github.run_number }}-nightly.jar
asset_content_type: application/java-archive
continue-on-error: false