Skip to content

Commit 069186f

Browse files
authored
Update release.yml
1 parent 2269ef0 commit 069186f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
types:
88
- published
99
workflow_dispatch:
10-
branches: [ master ]
1110

1211
jobs:
1312
build:
@@ -33,7 +32,7 @@ jobs:
3332
run: chmod +x gradlew
3433

3534
- name: Build and publish with Gradle
36-
run: ./gradlew build modrinth curseforge --stacktrace
35+
run: ./gradlew build fabric:modrinth fabric:curseforge --stacktrace
3736
env:
3837
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
3938
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
@@ -44,5 +43,5 @@ jobs:
4443
- name: Upload GitHub release
4544
uses: AButler/upload-release-assets@v2.0
4645
with:
47-
files: 'build/libs/*.jar;!build/libs/*-sources.jar;!build/libs/*-dev.jar'
46+
files: 'fabric/build/libs/*-fabric.jar;forge/build/libs/*-forge.jar'
4847
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)