Skip to content

Commit aef9bc0

Browse files
committed
update workflow
1 parent 846db1f commit aef9bc0

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ on:
55
workflow_dispatch:
66

77
jobs:
8-
build_fabric:
9-
if: startsWith(github.event.head_commit.message, '[fabric]')
10-
runs-on: ubuntu-20.04
8+
build:
9+
runs-on: ubuntu-22.04
1110
steps:
1211
- uses: actions/checkout@v4
1312
- name: Set up JDK 21
@@ -22,12 +21,14 @@ jobs:
2221
gradle-version: wrapper
2322

2423
- name: Make gradlew executable
25-
run: cd fabric; chmod +x ./gradlew
24+
run: chmod +x ./gradlew
2625

2726
- name: Build with Gradle
28-
run: cd fabric; ./gradlew build
27+
run: ./gradlew build
2928

3029
- uses: actions/upload-artifact@v4
3130
with:
3231
name: Fabric Build
33-
path: fabric/build/libs/*.jar
32+
path: |
33+
fabric/build/libs/*.jar
34+
forge/build/libs/*.jar

0 commit comments

Comments
 (0)