Skip to content

Update pre-release.yml #8

Update pre-release.yml

Update pre-release.yml #8

Workflow file for this run

name: Github Pre-Release
on:
push:
tags:
- '*-SNAPSHOT'
workflow_dispatch:
jobs:
release:
name: Pre-Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: temurin
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
automatic_release_tag: ${{ github.ref_name }}
files: target/*.jar