diff --git a/.github/workflows/bintray.yml b/.github/workflows/bintray.yml index 8945c774..f196af68 100644 --- a/.github/workflows/bintray.yml +++ b/.github/workflows/bintray.yml @@ -11,9 +11,14 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Publish artifact to Bintray env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BINTRAY_USER: ${{ secrets.BINTRAY_USER }} BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }} - run: ./gradlew -Pversion=${{ github.event.release.tag_name }} clean build bintrayUpload + run: ./gradlew -Pversion=${{ github.event.release.tag_name }} clean build -x test bintrayUpload diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2dc9be6e..b7b84447 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,12 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Publish artifact to GitHub Packages env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./gradlew -Pversion=${{ github.event.release.tag_name }} clean build publish + run: ./gradlew -Pversion=${{ github.event.release.tag_name }} clean build -x test publish