Skip to content

Commit 7d662e1

Browse files
committed
prepare for GitHub actions
1 parent 1740be4 commit 7d662e1

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Set up OpenJDK 17
11+
uses: actions/setup-java@v4
12+
with:
13+
java-version: '17'
14+
distribution: 'adopt' # You can choose other OpenJDK distributions.
15+
- name: Build with Gradle
16+
run: ./gradlew build # Ensure your gradlew script is executable
17+
- name: Upload Artifact
18+
uses: actions/upload-artifact@v4
19+
with:
20+
name: Re-Exposer
21+
path: build/libs/*.jar # Make sure this path matches the location of your build artifacts

gradlew

100644100755
File mode changed.

0 commit comments

Comments
 (0)