Skip to content

Commit ef183fb

Browse files
committed
ci: restore workflows
1 parent 19ca0a5 commit ef183fb

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-java@v4
12+
with:
13+
distribution: temurin
14+
java-version: '21'
15+
- run: chmod +x gradlew
16+
- run: ./gradlew clean build --no-daemon

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
permissions:
7+
contents: write
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
- uses: actions/setup-java@v4
16+
with:
17+
distribution: temurin
18+
java-version: '21'
19+
- run: ./gradlew clean uberJar --no-daemon
20+
- run: |
21+
cd build/libs
22+
sha256sum *.jar > checksums.txt
23+
- uses: softprops/action-gh-release@v2
24+
with:
25+
generate_release_notes: true
26+
files: |
27+
build/libs/*.jar
28+
build/libs/checksums.txt

0 commit comments

Comments
 (0)