Skip to content

github publish action update #13

github publish action update

github publish action update #13

name: Publish SNAPSHOT version to GitHub Packages
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Publish package
run: gradle clean publish
env:
GITHUB_ACTOR: ${{ secrets.GITHUBACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}