fix release action

This commit is contained in:
techno-sam
2026-05-14 21:08:06 +02:00
parent 69319ff896
commit e5567c2ead
+5 -3
View File
@@ -64,8 +64,10 @@ jobs:
with: with:
name: Artifacts name: Artifacts
path: | path: |
build/libs/*.jar fabric/build/libs/*.jar
!build/libs/*-sources.jar !fabric/build/libs/*-sources.jar
neoforge/build/libs/*.jar
!neoforge/build/libs/*-sources.jar
- name: Maven Publish - name: Maven Publish
if: github.event_name == 'release' && github.event.action == 'published' if: github.event_name == 'release' && github.event.action == 'published'
@@ -77,7 +79,7 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published' if: github.event_name == 'release' && github.event.action == 'published'
uses: AButler/upload-release-assets@v2.0 uses: AButler/upload-release-assets@v2.0
with: with:
files: 'build/libs/*.jar;!build/libs/*-sources.jar' files: 'fabric/build/libs/*.jar;!fabric/build/libs/*-sources.jar;neoforge/build/libs/*.jar;!neoforge/build/libs/*-sources.jar'
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
# set modrinth release type if tag matches v#.#.#-(alpha|beta).* # set modrinth release type if tag matches v#.#.#-(alpha|beta).*