diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c1906ee..f76d93e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,14 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - name: Run Publish + 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_ACTOR: ${{ secrets.GRADLE_GITHUB_ACTOR }} GITHUB_TOKEN: ${{ secrets.GRADLE_GITHUB_TOKEN }} \ No newline at end of file