mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 14:38:53 +00:00
Add Hangar CI & release publishing
This commit is contained in:
2 files changed
+13
-8
No files matched your search
@@ -39,8 +39,8 @@ jobs:
|
|||||||
- name: Get Version
|
- name: Get Version
|
||||||
run: |
|
run: |
|
||||||
echo "version_name=${{steps.fetch-version.outputs.VERSION_NAME}}" >> $GITHUB_ENV
|
echo "version_name=${{steps.fetch-version.outputs.VERSION_NAME}}" >> $GITHUB_ENV
|
||||||
- name: Upload to Modrinth (Spigot)
|
- name: Upload to Modrinth & Hangar (Spigot)
|
||||||
uses: Kir-Antipov/mc-publish@v3.2
|
uses: WiIIiam278/mc-publish@hangar
|
||||||
with:
|
with:
|
||||||
modrinth-id: J6U9o3JG
|
modrinth-id: J6U9o3JG
|
||||||
modrinth-featured: false
|
modrinth-featured: false
|
||||||
@@ -50,6 +50,9 @@ jobs:
|
|||||||
dynmap | suggests | *
|
dynmap | suggests | *
|
||||||
pl3xmap | suggests | *
|
pl3xmap | suggests | *
|
||||||
plan-player-analytics | suggests | *
|
plan-player-analytics | suggests | *
|
||||||
|
hangar-id: William278/HuskHomes
|
||||||
|
hangar-token: ${{ secrets.HANGAR_API_KEY }}
|
||||||
|
hangar-version-type: Alpha
|
||||||
files-primary: target/HuskHomes-Plugin-*.jar
|
files-primary: target/HuskHomes-Plugin-*.jar
|
||||||
name: HuskHomes (Spigot) v${{ env.version_name }}
|
name: HuskHomes (Spigot) v${{ env.version_name }}
|
||||||
version: ${{ env.version_name }}
|
version: ${{ env.version_name }}
|
||||||
@@ -66,7 +69,7 @@ jobs:
|
|||||||
1.19.4
|
1.19.4
|
||||||
java: 16
|
java: 16
|
||||||
- name: Upload to Modrinth (Sponge)
|
- name: Upload to Modrinth (Sponge)
|
||||||
uses: Kir-Antipov/mc-publish@v3.2
|
uses: WiIIiam278/mc-publish@hangar
|
||||||
with:
|
with:
|
||||||
modrinth-id: J6U9o3JG
|
modrinth-id: J6U9o3JG
|
||||||
modrinth-featured: false
|
modrinth-featured: false
|
||||||
@@ -88,7 +91,7 @@ jobs:
|
|||||||
1.19.4
|
1.19.4
|
||||||
java: 16
|
java: 16
|
||||||
- name: Upload to Modrinth & CurseForge (Fabric)
|
- name: Upload to Modrinth & CurseForge (Fabric)
|
||||||
uses: Kir-Antipov/mc-publish@v3.2
|
uses: WiIIiam278/mc-publish@hangar
|
||||||
with:
|
with:
|
||||||
modrinth-id: J6U9o3JG
|
modrinth-id: J6U9o3JG
|
||||||
modrinth-featured: false
|
modrinth-featured: false
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ jobs:
|
|||||||
if: success() || failure() # always run even if the previous step fails
|
if: success() || failure() # always run even if the previous step fails
|
||||||
with:
|
with:
|
||||||
report_paths: '**/build/test-results/test/TEST-*.xml'
|
report_paths: '**/build/test-results/test/TEST-*.xml'
|
||||||
- name: Upload to Modrinth (Spigot)
|
- name: Upload to Modrinth & Hangar (Spigot)
|
||||||
uses: Kir-Antipov/mc-publish@v3.2
|
uses: WiIIiam278/mc-publish@hangar
|
||||||
with:
|
with:
|
||||||
modrinth-id: J6U9o3JG
|
modrinth-id: J6U9o3JG
|
||||||
modrinth-featured: false
|
modrinth-featured: false
|
||||||
@@ -39,6 +39,8 @@ jobs:
|
|||||||
dynmap | suggests | *
|
dynmap | suggests | *
|
||||||
pl3xmap | suggests | *
|
pl3xmap | suggests | *
|
||||||
plan-player-analytics | suggests | *
|
plan-player-analytics | suggests | *
|
||||||
|
hangar-id: William278/HuskHomes
|
||||||
|
hangar-token: ${{ secrets.HANGAR_API_KEY }}
|
||||||
files-primary: target/HuskHomes-Plugin-*.jar
|
files-primary: target/HuskHomes-Plugin-*.jar
|
||||||
name: HuskHomes (Spigot) v${{ github.event.release.tag_name }}
|
name: HuskHomes (Spigot) v${{ github.event.release.tag_name }}
|
||||||
version: ${{ github.event.release.tag_name }}
|
version: ${{ github.event.release.tag_name }}
|
||||||
@@ -55,7 +57,7 @@ jobs:
|
|||||||
1.19.4
|
1.19.4
|
||||||
java: 16
|
java: 16
|
||||||
- name: Upload to Modrinth (Sponge)
|
- name: Upload to Modrinth (Sponge)
|
||||||
uses: Kir-Antipov/mc-publish@v3.2
|
uses: WiIIiam278/mc-publish@hangar
|
||||||
with:
|
with:
|
||||||
modrinth-id: J6U9o3JG
|
modrinth-id: J6U9o3JG
|
||||||
modrinth-featured: false
|
modrinth-featured: false
|
||||||
@@ -77,7 +79,7 @@ jobs:
|
|||||||
1.19.4
|
1.19.4
|
||||||
java: 16
|
java: 16
|
||||||
- name: Upload to Modrinth & CurseForge (Fabric)
|
- name: Upload to Modrinth & CurseForge (Fabric)
|
||||||
uses: Kir-Antipov/mc-publish@v3.2
|
uses: WiIIiam278/mc-publish@hangar
|
||||||
with:
|
with:
|
||||||
modrinth-id: J6U9o3JG
|
modrinth-id: J6U9o3JG
|
||||||
modrinth-featured: false
|
modrinth-featured: false
|
||||||
|
|||||||
Reference in new issue
Block a user