Skip to content

feat: upgraded version and dependencies #15

feat: upgraded version and dependencies

feat: upgraded version and dependencies #15

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: shadow
- name: Archive Artifacts
uses: actions/upload-artifact@v2
with:
name: target-jar
path: build/libs/*.jar
release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download Build Artifacts
uses: actions/download-artifact@v3
with:
name: target-jar
# Upload as an artifact of the current workflow
- name: Upload build zip artifact
uses: actions/upload-artifact@v2
with:
name: Release artifacts
path: '*.jar'
# Make official GitHub release which will trigger
# sending the mail with link for access
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: '*.jar'
draft: false
prerelease: false
allowUpdates: true
bodyFile: CHANGELOG.md
tag: v0.5.0