Skip to content

Update publish.yml with java distribution #4

Update publish.yml with java distribution

Update publish.yml with java distribution #4

Workflow file for this run

name: Publish Kotlin Library
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: 8
- name: Authenticate to GitHub Packages
uses: fregante/setup-git-token@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Kotlin Library
run: ./gradlew publish