File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow uses actions that are not certified by GitHub.
2+ # They are provided by a third-party and are governed by
3+ # separate terms of service, privacy policy, and support
4+ # documentation.
5+ # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
6+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
7+
8+ name : Java CI with Gradle
9+
10+ on :
11+ push :
12+ branches :
13+ - master
14+ - ' dev/**'
15+ pull_request :
16+
17+ permissions :
18+ contents : read
19+
20+ jobs :
21+ build :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v3
25+ - name : Set up JDK 21
26+ uses : actions/setup-java@v4.2.1
27+ with :
28+ java-version : ' 21'
29+ distribution : ' temurin'
30+ - name : Build with Gradle
31+ uses : gradle/actions/setup-gradle@v3
32+ with :
33+ arguments : build
34+ - name : Upload a Build Artifact
35+ uses : actions/upload-artifact@master
36+ with :
37+ # Artifact name
38+ name : HySkript-Artifact
39+ # A file, directory or wildcard pattern that describes what to upload
40+ path : build/libs/HySkript*.jar
You can’t perform that action at this time.
0 commit comments