Skip to content

Workflow file for this run

name: "[Main] - Build Release"
on:
push:
branches:
- pipeline
jobs:
build-jar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Java
uses: actions/setup-java@v3
with:
java-version: 17
distribution: adopt
cache: gradle
- name: Build JAR
run: |
./gradlew build
- name: List JAR
run: |
ls app/build/libs/
- name: Publish package
run: ./gradlew publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}