-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (29 loc) · 760 Bytes
/
Copy pathrelease.yml
File metadata and controls
35 lines (29 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Release Build
on:
release:
types: [ published ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
lfs: true
- uses: actions/setup-node@v6
with:
node-version: 24
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: ./mvnw clean package verify -Drevision=${{ github.event.release.tag_name }}
- name: Upload artifacts to release
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload "${{ github.event.release.tag_name }}" target/luceneserver-*.jar