-
-
Notifications
You must be signed in to change notification settings - Fork 6
executable file
·43 lines (32 loc) · 990 Bytes
/
release.yml
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
37
38
39
40
41
42
43
name: Release
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Artifacts
uses: gradle/gradle-build-action@v2
with:
arguments: build --stacktrace
- name: Upload Fabric artifacts GitHub
uses: AButler/[email protected]
with:
files: 'fabric/build/libs/*.jar;!forge/build/libs/*-dev.jar'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Forge artifacts GitHub
uses: AButler/[email protected]
with:
files: 'forge/build/libs/*.jar;!forge/build/libs/*-dev.jar'
repo-token: ${{ secrets.GITHUB_TOKEN }}