File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+ on : [push, pull_request, workflow_dispatch]
3+
4+ jobs :
5+ build :
6+ runs-on : ubuntu-24.04
7+ if : ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
8+ steps :
9+ - name : Checkout Repository
10+ uses : actions/checkout@v4
11+ with :
12+ persist-credentials : false
13+ - name : Validate Gradle Wrapper
14+ uses : gradle/actions/wrapper-validation@v4
15+ - name : Set up JDK 21
16+ uses : actions/setup-java@v4
17+ with :
18+ distribution : temurin
19+ java-version : 21
20+ check-latest : true
21+ - name : Set Gradle Permissions
22+ run : " chmod +x ./gradlew"
23+ - name : Build with Gradle
24+ run : " ./gradlew build"
25+ - name : Upload Artifacts to GitHub
26+ uses : actions/upload-artifact@v4
27+ with :
28+ name : Artifacts
29+ path : build/libs/
You can’t perform that action at this time.
0 commit comments