Skip to content

Workflow file for this run

name: Publish to GitHub Packages
on:
release:
types: [prereleased, released]
jobs:
publish-release:
runs-on: ubuntu-latest
steps:
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Checkout code
uses: actions/checkout@v2
- name: Publish artifact to GitHub Packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew -Pversion=${{ github.event.release.tag_name }} clean build -x test publish --stacktrace