fix: use getter for injecting addon config #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: | |
- v1.1 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: | | |
8 | |
16 | |
17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Publish to GitHub | |
uses: Apehum/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
github-generate-changelog: false | |
github-prerelease: true | |
changelog-file: changelog.md | |
files: plugin/build/libs/*.jar |