Skip to content

Commit

Permalink
ci(workflow): add build logic to GitHub Releases action
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
sylv256 committed Aug 13, 2024
1 parent 6c6b219 commit e66eb4e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/github-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Setup Gradle
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2

- name: Build with Gradle
run: ./gradlew build

- name: Upload To Github Release
uses: xresloader/[email protected]
env:
Expand Down

0 comments on commit e66eb4e

Please sign in to comment.