Skip to content

Read CHANGES.md

Read CHANGES.md #154

name: Build and Publish Release
on:
push:
branches:
- main
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: set up Java
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
server-id: ${{ secrets.MAVEN_SETTINGS_SERVER_ID }}
- name: build jar
run: |
./gradlew build
- name: create release
uses: softprops/action-gh-release@v1
with:
files: build/libs/*.jar
tag_name: v1.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}