From 2bfb7b50a61a8e8238e4420ea4f73d50f9c9045c Mon Sep 17 00:00:00 2001 From: Arturo Jamaica Date: Fri, 11 Aug 2023 15:36:42 -0600 Subject: [PATCH] ci: Update GitHub Actions workflow for deployment - Change action for building and publishing in `.github/workflows/deploy.yml` - Update script for new action in `.github/workflows/deploy.yml` --- .github/workflows/deploy.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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