diff --git a/.github/workflows/autojitpack.yml b/.github/workflows/autojitpack.yml new file mode 100644 index 0000000..1eb26af --- /dev/null +++ b/.github/workflows/autojitpack.yml @@ -0,0 +1,19 @@ +name: AutoJitpack + +on: + push: + branches: ["master"] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: web3j/substr-action@e448c146620c370c177a13787abc1d21712a1440 + id: jitpackhash + with: + value: ${{ github.sha }} + start: 0 + length: 10 + - uses: badasintended/autojitpack@07e74255c2fe5f3353477da9ee7b5767a87d390c + with: + version: ${{ steps.jitpackhash.outputs.result }} \ No newline at end of file diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 0000000..2e89d1f --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,7 @@ +jdk: + - openjdk16 +before_install: + - sdk install java 16.0.2-tem + - sdk use java 16.0.2-tem +install: + - gradlew publishToMavenLocal \ No newline at end of file