Skip to content

build: add plasmo releases repo #3

build: add plasmo releases repo

build: add plasmo releases repo #3

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: ""