Skip to content

Commit

Permalink
🚀 Fix publishing?
Browse files Browse the repository at this point in the history
  • Loading branch information
XyperCode committed Dec 15, 2024
1 parent 3033e32 commit f10eb3f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle
- name: Publish to GitHub Packages
run: ./gradlew publish -Pci=true
run: ./gradlew :common:publish :fabric:publish :forge:publish -Pci=true
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ architectury {
fabric()
}

base {
archivesName = rootProject.archives_base_name + "-fabric"
}

loom {
accessWidenerPath = project(":common").loom.accessWidenerPath
runs {
Expand Down
4 changes: 4 additions & 0 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ plugins {

version rootProject.version

base {
archivesName = rootProject.archives_base_name + "-forge"
}

architectury {
platformSetupLoomIde()
forge()
Expand Down

0 comments on commit f10eb3f

Please sign in to comment.