Add tag-triggered release workflow
Build and publish release / Build and publish RemotePackSync (push) Failing after 14s
Build and publish release / Build and publish RemotePackSync (push) Failing after 14s
This commit is contained in:
@@ -0,0 +1,35 @@
|
|||||||
|
name: Build and publish release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: Build and publish RemotePackSync
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out source
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Set up Java 25
|
||||||
|
uses: actions/setup-java@v5
|
||||||
|
with:
|
||||||
|
distribution: temurin
|
||||||
|
java-version: '25'
|
||||||
|
cache: maven
|
||||||
|
|
||||||
|
- name: Build plugin
|
||||||
|
run: mvn --batch-mode --no-transfer-progress clean verify
|
||||||
|
|
||||||
|
- name: Publish GitHub release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
generate_release_notes: true
|
||||||
|
files: target/RemotePackSync.jar
|
||||||
|
fail_on_unmatched_files: true
|
||||||
Reference in New Issue
Block a user