diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7dccffa..58a3d46 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,13 +7,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - name: Run Tests + uses: Raul6469/android-gradle-action@2.0.0 with: - java-version: '11' - distribution: 'adopt' - - name: Validate Gradle wrapper - uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b - - name: Publish package - run: gradle clean assemble publish + script: clean assemble publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file