diff --git a/.github/workflows/github-ci.yml b/.github/workflows/github-ci.yml index 48746d0d..4872ef97 100644 --- a/.github/workflows/github-ci.yml +++ b/.github/workflows/github-ci.yml @@ -60,4 +60,32 @@ jobs: - name: Gradle (Testing) # TODO: Add jsIrTest when #4 gets fixed - run: gradle --stacktrace --info core:jvmTest \ No newline at end of file + run: gradle --stacktrace --info core:jvmTest + release: + name: Publish artifacts + runs-on: ubuntu-latest + needs: build + if: github.ref == 'refs/heads/main' + env: + BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }} + BINTRAY_USER: ${{ secrets.BINTRAY_USER }} + ORG_GRADLE_PROJECT_signingKey: ${{ secrets.signingKey }} + ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.signingPassword }} + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: actions/cache@v1 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} + restore-keys: | + ${{ runner.os }}-gradle- + - name: Set up JDK 15 + uses: actions/setup-java@v1 + with: + java-version: 15 + - name: Publish with Gradle + run: gradle publishAllPublicationsToMavenRepository \ No newline at end of file diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 00000000..05a245e4 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +lavakord \ No newline at end of file diff --git a/.idea/artifacts/core_js_1_0_0_SNAPSHOT.xml b/.idea/artifacts/core_js_1_0_0_SNAPSHOT.xml index 6c1bf8ad..29605ab7 100644 --- a/.idea/artifacts/core_js_1_0_0_SNAPSHOT.xml +++ b/.idea/artifacts/core_js_1_0_0_SNAPSHOT.xml @@ -1,6 +1,6 @@ - D:\WORK\lavakord\core\build\libs + C:\Users\micha\IdeaProjects\Lavalink.kt\core\build\libs diff --git a/.idea/artifacts/core_jvm_1_0_0_SNAPSHOT.xml b/.idea/artifacts/core_jvm_1_0_0_SNAPSHOT.xml index 21cb270d..0c40da96 100644 --- a/.idea/artifacts/core_jvm_1_0_0_SNAPSHOT.xml +++ b/.idea/artifacts/core_jvm_1_0_0_SNAPSHOT.xml @@ -1,6 +1,6 @@ - D:\WORK\lavakord\core\build\libs + C:\Users\micha\IdeaProjects\Lavalink.kt\core\build\libs diff --git a/.idea/artifacts/java_jvm_1_0_0_SNAPSHOT.xml b/.idea/artifacts/java_jvm_1_0_0_SNAPSHOT.xml new file mode 100644 index 00000000..6a8a479c --- /dev/null +++ b/.idea/artifacts/java_jvm_1_0_0_SNAPSHOT.xml @@ -0,0 +1,8 @@ + + + C:\Users\micha\IdeaProjects\Lavalink.kt\java\build\libs + + + + + \ No newline at end of file diff --git a/.idea/artifacts/jda_java_jvm_1_0_0_SNAPSHOT.xml b/.idea/artifacts/jda_java_jvm_1_0_0_SNAPSHOT.xml new file mode 100644 index 00000000..7b0a8c20 --- /dev/null +++ b/.idea/artifacts/jda_java_jvm_1_0_0_SNAPSHOT.xml @@ -0,0 +1,8 @@ + + + C:\Users\micha\IdeaProjects\Lavalink.kt\jda-java\build\libs + + + + + \ No newline at end of file diff --git a/.idea/artifacts/jda_jvm_1_0_0_SNAPSHOT.xml b/.idea/artifacts/jda_jvm_1_0_0_SNAPSHOT.xml new file mode 100644 index 00000000..2d455157 --- /dev/null +++ b/.idea/artifacts/jda_jvm_1_0_0_SNAPSHOT.xml @@ -0,0 +1,8 @@ + + + C:\Users\micha\IdeaProjects\Lavalink.kt\jda\build\libs + + + + + \ No newline at end of file diff --git a/.idea/artifacts/jsExample_1_0_SNAPSHOT.xml b/.idea/artifacts/jsExample_1_0_SNAPSHOT.xml index 70eda6ae..55daa153 100644 --- a/.idea/artifacts/jsExample_1_0_SNAPSHOT.xml +++ b/.idea/artifacts/jsExample_1_0_SNAPSHOT.xml @@ -1,6 +1,6 @@ - D:\WORK\lavakord\jsExample\build\libs + C:\Users\micha\IdeaProjects\Lavalink.kt\jsExample\build\libs diff --git a/.idea/artifacts/kord_jvm_1_0_0_SNAPSHOT.xml b/.idea/artifacts/kord_jvm_1_0_0_SNAPSHOT.xml index a97a70d4..3c0c87dd 100644 --- a/.idea/artifacts/kord_jvm_1_0_0_SNAPSHOT.xml +++ b/.idea/artifacts/kord_jvm_1_0_0_SNAPSHOT.xml @@ -1,6 +1,6 @@ - D:\WORK\lavakord\kord\build\libs + C:\Users\micha\IdeaProjects\Lavalink.kt\kord\build\libs diff --git a/.idea/aws.xml b/.idea/aws.xml index 03f1bb6e..8e173182 100644 --- a/.idea/aws.xml +++ b/.idea/aws.xml @@ -1,7 +1,6 @@ -