diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2344913..f70c909 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,22 @@ jobs: if: success() || failure() # always run even if the previous step fails with: 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: 'huskchat' + channel: 'alpha' + version: ${{ env.version_name }} + changelog: ${{ github.event.head_commit.message }} + distro-names: | + bungee-velocity-paper + distro-groups: | + bungee-velocity-paper + distro-descriptions: | + Bungee, Velocity & Paper + files: | + target/HuskChat-Plugin-${{ env.version_name }}.jar - name: 'Fetch Version Name 📝' run: | echo "::set-output name=VERSION_NAME::$(${{github.workspace}}/gradlew properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}')" @@ -97,10 +113,4 @@ jobs: folia hangar-loaders: | velocity - java: 17 - - name: 'Upload GitHub Artifact 📦' - if: success() || failure() - uses: actions/upload-artifact@v4 - with: - name: HuskChat Plugin - path: target/HuskChat-Plugin-*.jar \ No newline at end of file + java: 17 \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 097c990..922f5a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,22 @@ jobs: if: success() || failure() # always run even if the previous step fails with: 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: 'huskchat' + channel: 'release' + version: ${{ github.event.release.tag_name }} + changelog: ${{ github.event.release.body }} + distro-names: | + bungee-velocity-paper + distro-groups: | + bungee-velocity-paper + distro-descriptions: | + Bungee, Velocity & Paper + files: | + target/HuskChat-Plugin-${{ github.event.release.tag_name }}.jar - name: 'Publish to Modrinth & Hangar 🚰' uses: WiIIiam278/mc-publish@hangar with: @@ -86,10 +102,4 @@ jobs: folia hangar-loaders: | velocity - java: 17 - - name: 'Upload GitHub Artifact 📦' - if: success() || failure() - uses: actions/upload-artifact@v4 - with: - name: HuskChat Plugin - path: target/HuskChat-Plugin-*.jar \ No newline at end of file + java: 17 \ No newline at end of file