-
Notifications
You must be signed in to change notification settings - Fork 21
52 lines (42 loc) · 1.02 KB
/
test.yml
File metadata and controls
52 lines (42 loc) · 1.02 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
47
48
49
50
51
52
# <meta>
# <source>@pssbletrngle/github-meta-generator</source>
# <version>0.0.0-dev</version>
# <timestamp>2026-03-10T19:23:54.023Z</timestamp>
# </meta>
name: Test
on:
workflow_dispatch:
inputs:
upload:
description: "Upload Artifact"
default: false
required: true
type: boolean
pull_request:
types: [opened, synchronize]
env:
CI: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: { { javaVersion } }
distribution: temurin
- uses: gradle/actions/setup-gradle@v4
- name: Build
run: ./gradlew build check
- uses: actions/upload-artifact@v4
if: ${{ inputs.upload }}
with:
name: build
path: "**/build/libs/*.jar"