Skip to content

Workflow file for this run

name: Publish package to GitHub Packages
on:
release:
types: [ created ]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/wrapper-validation@v3
- name: Publish package
run: ./gradlew publishAllPublicationsToGitHubPackagesRepository
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}