mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
ci: add bones publishing to CI
This commit is contained in:
2 files changed
+48
No files matched your search
@@ -43,6 +43,30 @@ 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: 'Publish to William278.net 🚀'
|
||||||
|
uses: WiIIiam278/bones-publish-action@v1
|
||||||
|
with:
|
||||||
|
api-key: ${{ secrets.BONES_API_KEY }}
|
||||||
|
project: 'huskhomes'
|
||||||
|
channel: 'alpha'
|
||||||
|
version: ${{ env.version_name }}
|
||||||
|
changelog: ${{ github.event.head_commit.message }}
|
||||||
|
distro-names: |
|
||||||
|
paper
|
||||||
|
sponge-10
|
||||||
|
fabric-1.21
|
||||||
|
distro-groups: |
|
||||||
|
paper
|
||||||
|
sponge
|
||||||
|
fabric
|
||||||
|
distro-descriptions: |
|
||||||
|
Paper
|
||||||
|
Sponge API 10
|
||||||
|
Fabric 1.21
|
||||||
|
files: |
|
||||||
|
target/HuskHomes-Paper-${{ env.version_name }}.jar
|
||||||
|
target/HuskHomes-Sponge-${{ env.version_name }}.jar
|
||||||
|
target/HuskHomes-Fabric-${{ env.version_name }}+mc.1.21.jar
|
||||||
- name: 'Spigot: Publish to Modrinth & Hangar 🚰'
|
- name: 'Spigot: Publish to Modrinth & Hangar 🚰'
|
||||||
uses: WiIIiam278/mc-publish@hangar
|
uses: WiIIiam278/mc-publish@hangar
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -32,6 +32,30 @@ 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: 'Publish to William278.net 🚀'
|
||||||
|
uses: WiIIiam278/bones-publish-action@v1
|
||||||
|
with:
|
||||||
|
api-key: ${{ secrets.BONES_API_KEY }}
|
||||||
|
project: 'huskhomes'
|
||||||
|
channel: 'release'
|
||||||
|
version: ${{ github.event.release.tag_name }}
|
||||||
|
changelog: ${{ github.event.release.body }}
|
||||||
|
distro-names: |
|
||||||
|
paper
|
||||||
|
sponge-10
|
||||||
|
fabric-1.21
|
||||||
|
distro-groups: |
|
||||||
|
paper
|
||||||
|
sponge
|
||||||
|
fabric
|
||||||
|
distro-descriptions: |
|
||||||
|
Paper
|
||||||
|
Sponge API 10
|
||||||
|
Fabric 1.21
|
||||||
|
files: |
|
||||||
|
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 }}+mc.1.21.jar
|
||||||
- name: 'Spigot: Publish to Modrinth & Hangar 🚰'
|
- name: 'Spigot: Publish to Modrinth & Hangar 🚰'
|
||||||
uses: WiIIiam278/mc-publish@hangar
|
uses: WiIIiam278/mc-publish@hangar
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in new issue
Block a user