Skip to content

Commit

Permalink
- Used v3 GitHub actions for building release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Supermarcel10 committed Jul 21, 2024
1 parent d33413a commit 8b99b7f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build Release

on:
release:
types: [created]

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "21"
distribution: "zulu"

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build with Gradle
run: gradle build

- name: Upload Release Asset
uses: softprops/action-gh-release@v2
with:
files: |
build/libs/*.jar

0 comments on commit 8b99b7f

Please sign in to comment.