forked from PrismLauncher/ForgeWrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 852 Bytes
/
build.yml
File metadata and controls
36 lines (33 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Gradle Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'temurin'
- name: Build with Gradle
run: |
chmod +x ./gradlew
./gradlew build -iS
- uses: actions/upload-artifact@v4
with:
name: Package
path: build/libs
- uses: "marvinpinto/action-automatic-releases@latest"
name: Create Specific Release
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: latest
prerelease: false
title: Latest
files: |
build/libs/*.jar