aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-12-01 13:02:53 +0100
committerLinnea Gräf <nea@nea.moe>2025-12-01 13:02:53 +0100
commitf02b34aa79c048123514f80ab38e1a7c3958e806 (patch)
tree1fbe95e58fc462fed077b00c7d05b2137d90fe91
parent32b2210df4f89964367b03916a65a7db9eb3ab14 (diff)
downloadFirmament-f02b34aa79c048123514f80ab38e1a7c3958e806.tar.gz
Firmament-f02b34aa79c048123514f80ab38e1a7c3958e806.tar.bz2
Firmament-f02b34aa79c048123514f80ab38e1a7c3958e806.zip
ci: exclude api and sources .jars more often4.1.0+mc1.21.10
-rw-r--r--.github/workflows/build.yml5
-rw-r--r--.github/workflows/publish-github-to-modrinth.yml1
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e73c6f4..1d50069 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -27,13 +27,16 @@ jobs:
./gradlew assemble --scan
- name: Move build artifact around and print check sum
run: |
- rm -f build/libs/*sources*.jar
+ rm -f build/libs/*sources*.jar build/libs/*-api.jar
sha256sum build/libs/*.jar
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: built-mod-jar
path: build/libs/Firmament-*.jar
+ exclude: |
+ build/libs/*-sources.jar
+ build/libs/*-api.jar
test:
name: Test
diff --git a/.github/workflows/publish-github-to-modrinth.yml b/.github/workflows/publish-github-to-modrinth.yml
index 18ecf4a..7b966ab 100644
--- a/.github/workflows/publish-github-to-modrinth.yml
+++ b/.github/workflows/publish-github-to-modrinth.yml
@@ -19,6 +19,7 @@ jobs:
steps:
- run: |
gh release download "$TAG" -p '*.jar' --repo "$REPO"
+ rm -f *-sources.jar *-api.jar *-api-sources.jar
env:
TAG: ${{ github.event.release.tag_name }}
REPO: ${{ github.repository }}