Skip to content

Commit e8438f6

Browse files
committed
fix: Build permission denied
1 parent 1659b59 commit e8438f6

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build
22

3-
on: [push, pull_request]
3+
on: [push]
44

55
jobs:
66
build:
@@ -18,8 +18,14 @@ jobs:
1818
java-version: '21'
1919
distribution: 'temurin'
2020

21-
- name: Setup Gradle
22-
uses: gradle/actions/setup-gradle@v4
21+
- name: Give permissions to Gradle
22+
run: chmod +x ./gradlew
2323

2424
- name: Build with Gradle
25-
run: ./gradlew build
25+
run: ./gradlew jar
26+
27+
- name: Upload Artifacts
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: MekanismCurios
31+
path: build/libs/**.jar

0 commit comments

Comments
 (0)