Skip to content

Commit

Permalink
build: ensure correct files are published
Browse files Browse the repository at this point in the history
  • Loading branch information
WiIIiam278 committed Feb 12, 2024
1 parent e2edfbf commit c55631a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
hangar-id: William278/HuskHomes
hangar-token: ${{ secrets.HANGAR_API_KEY }}
hangar-version-type: Alpha
files-primary: target/HuskHomes-Paper-*.jar
files-primary: target/HuskHomes-Paper-${{ env.version_name }}.jar
name: HuskHomes (Spigot) v${{ env.version_name }}
version: ${{ env.version_name }}
version-type: alpha
Expand All @@ -82,7 +82,7 @@ jobs:
modrinth-dependencies: |
bluemap | suggests | *
plan | suggests | *
files-primary: target/HuskHomes-Sponge-*.jar
files-primary: target/HuskHomes-Sponge-${{ env.version_name }}.jar
name: HuskHomes (Sponge) v${{ env.version_name }}
version: ${{ env.version_name }}
version-type: alpha
Expand All @@ -108,7 +108,7 @@ jobs:
pl3xmap | suggests | *
luckperms | suggests | *
plan | suggests | *
files-primary: target/HuskHomes-Fabric-*.jar
files-primary: target/HuskHomes-Fabric-${{ env.version_name }}.jar
name: HuskHomes (Fabric) v${{ env.version_name }}
version: ${{ env.version_name }}
version-type: alpha
Expand All @@ -124,6 +124,6 @@ jobs:
with:
name: HuskHomes
path: |
target/HuskHomes-Paper-*.jar
target/HuskHomes-Sponge-*.jar
target/HuskHomes-Fabric-*.jar
target/HuskHomes-Paper-${{ env.version_name }}.jar
target/HuskHomes-Sponge-${{ env.version_name }}.jar
target/HuskHomes-Fabric-${{ env.version_name }}.jar
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
plan | suggests | *
hangar-id: William278/HuskHomes
hangar-token: ${{ secrets.HANGAR_API_KEY }}
files-primary: target/HuskHomes-Paper-*.jar
files-primary: target/HuskHomes-Paper-${{ github.event.release.tag_name }}.jar
name: HuskHomes (Spigot) v${{ github.event.release.tag_name }}
version: ${{ github.event.release.tag_name }}
version-type: release
Expand All @@ -69,7 +69,7 @@ jobs:
modrinth-dependencies: |
bluemap | suggests | *
plan | suggests | *
files-primary: target/HuskHomes-Sponge-*.jar
files-primary: target/HuskHomes-Sponge-${{ github.event.release.tag_name }}.jar
name: HuskHomes (Sponge) v${{ github.event.release.tag_name }}
version: ${{ env.version_name }}
version-type: release
Expand All @@ -94,7 +94,7 @@ jobs:
pl3xmap | suggests | *
luckperms | suggests | *
plan | suggests | *
files-primary: target/HuskHomes-Fabric-*.jar
files-primary: target/HuskHomes-Fabric-${{ github.event.release.tag_name }}.jar
name: HuskHomes (Fabric) v${{ github.event.release.tag_name }}
version: ${{ github.event.release.tag_name }}
version-type: release
Expand All @@ -109,6 +109,6 @@ jobs:
with:
name: HuskHomes
path: |
target/HuskHomes-Paper-*.jar
target/HuskHomes-Sponge-*.jar
target/HuskHomes-Fabric-*.jar
target/HuskHomes-Paper-${{ github.event.release.tag_name }}.jar
target/HuskHomes-Sponge-${{ github.event.release.tag_name }}.jar
target/HuskHomes-Fabric-${{ github.event.release.tag_name }}.jar

0 comments on commit c55631a

Please sign in to comment.