forked from nopjmp/Dionysus
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 1.05 KB
/
Copy pathdev.yml
File metadata and controls
46 lines (37 loc) · 1.05 KB
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
36
37
38
39
40
41
42
43
44
45
46
name: Build main
on:
workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Patch Dionysus
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
git submodule update --init --recursive
./dionysus patch
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Build Dionysus
run: |
./dionysus build
./scripts/paperclip.sh
- uses: actions/upload-artifact@v4
with:
name: Dionysus-JDK17
path: dionysus-paperclip.jar