Skip to content

Commit e66eb4e

Browse files
committed
ci(workflow): add build logic to GitHub Releases action
[skip ci]
1 parent 6c6b219 commit e66eb4e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/github-releases.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,21 @@ jobs:
2020
contents: write
2121

2222
steps:
23+
- uses: actions/checkout@v4
24+
- name: Set up JDK 21
25+
uses: actions/setup-java@v4
26+
with:
27+
java-version: '21'
28+
distribution: 'temurin'
29+
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
30+
settings-path: ${{ github.workspace }} # location for the settings.xml file
31+
32+
- name: Setup Gradle
33+
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
34+
35+
- name: Build with Gradle
36+
run: ./gradlew build
37+
2338
- name: Upload To Github Release
2439
uses: xresloader/[email protected]
2540
env:

0 commit comments

Comments
 (0)