Skip to content

Commit 51c96e5

Browse files
Create build.yml (#20)
Script adapted from onebeastchris/Hurricane-Modded Co-authored-by: chris <[email protected]>
1 parent 4626fb2 commit 51c96e5

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Publish
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
paths-ignore:
7+
- '.gitignore'
8+
- 'CONTRIBUTING.md'
9+
- 'LICENSE'
10+
- 'README.md'
11+
- 'licenseheader.txt'
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@72f2cec99f417b1a1c5e2e88945068983b7965f9
18+
- name: Change wrapper permissions
19+
run: chmod +x ./gradlew
20+
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4
21+
- uses: actions/setup-java@4075bfc1b51bf22876335ae1cd589602d60d8758
22+
with:
23+
distribution: 'temurin'
24+
java-version: 21
25+
- name: Build Project
26+
run: ./gradlew build
27+
- name: Archive Artifacts (fabric)
28+
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
29+
if: success()
30+
with:
31+
name: BedrockSkinUtility
32+
path: build/libs/BedrockSkinUtility-*.jar
33+
if-no-files-found: error

0 commit comments

Comments
 (0)