Skip to content

Release library

Release library #1

name: Release
on:
push:
paths-ignore:
- '**.md'
branches:
- 'master'
jobs:
build:
runs-on: macos-latest
permissions:
contents: read
packages: write
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build
run: ./gradlew :assemble --stacktrace
- name: Check
run: ./gradlew :check
- name: Release library
run: ./gradlew :publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}