diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index 8420bb3..23676b7 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -36,13 +36,18 @@ jobs: run: chmod +x gradlew # Clean, Test, Publish and Build (in that order to save the artifact to the action) - name: Test, Deploy and Build with Gradle - run: ./gradlew clean test publish shadow dokkaHtml + run: ./gradlew clean test publish shadow dokkaHtml --no-daemon # Now we store the artifact in the action - name: Upload the artifact uses: actions/upload-artifact@v3 with: name: CommandsModule path: ./build/libs/CommandsModule-${{ env.VERSION }}.jar + # Here we upload the binary to the release + - name: Upload to release + uses: JasonEtco/upload-to-release@master + with: + args: ./build/libs/CommandsModule-${{ env.VERSION }}.jar application/java-archive # Now we deploy the documents to GitHub pages - name: Deploy Dokka uses: JamesIves/github-pages-deploy-action@v4.4.1 diff --git a/.github/workflows/gradle-test.yml b/.github/workflows/gradle-test.yml index f9e1e13..35c6a77 100644 --- a/.github/workflows/gradle-test.yml +++ b/.github/workflows/gradle-test.yml @@ -1,6 +1,6 @@ name: "Test" # Only execute this workflow when a PR is opened or when something is pushed to the master branch -on: [push, pull_request] +on: [pull_request] jobs: testBuilds: strategy: @@ -28,4 +28,4 @@ jobs: run: chmod +x gradlew # Test building without dokka - name: Build Jar with Java ${{ matrix.java-version }} - run: ./gradlew clean publish shadow -x dokkaHtml \ No newline at end of file + run: ./gradlew clean publish shadow -x dokkaHtml --no-daemon \ No newline at end of file diff --git a/README.md b/README.md index df87af7..543763e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ +[![](https://jitci.com/gh/TheProgramSrc/SimpleCore-CommandsModule/svg)](https://jitci.com/gh/TheProgramSrc/SimpleCore-CommandsModule) +[![](https://jitpack.io/v/TheProgramSrc/SimpleCore-CommandsModule.svg)](https://jitpack.io/#TheProgramSrc/SimpleCore-CommandsModule) + # SimpleCore-CommandsModule Command Builder module for SimpleCore API. # Documentation * [Wiki](https://github.com/TheProgramSrc/SimpleCore-CommandsModule/wiki) -* [JavaDocs](https://theprogramsrc.github.io/SimpleCore-CommandsModule/) +* [JavaDocs](https://docs.theprogramsrc.xyz/SimpleCore-CommandsModule/)