Skip to content

ci: change branch version to v2.1 #2

ci: change branch version to v2.1

ci: change branch version to v2.1 #2

name: Publish
on:
push:
branches:
- v2.1
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: |
8
16
17
21
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: Publish to GitHub
uses: Apehum/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-generate-changelog: true
github-prerelease: true
changelog-file: changelog.md
files-primary: build/libs/!(*-@(dev|sources|javadoc)).jar
files-secondary: ""