-
Notifications
You must be signed in to change notification settings - Fork 5
32 lines (27 loc) · 961 Bytes
/
build.yml
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
name: build
on: [ workflow_dispatch, push, pull_request ]
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip]')"
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup java
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: setup gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false
- name: do the build
run: ./gradlew assemble
continue-on-error: true
- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: unlimited-artifacts-v${{ github.run_number }}
path: |
*/build/libs/*.jar