Skip to content

Commit

Permalink
ci: Update GitHub Actions workflow for deployment
Browse files Browse the repository at this point in the history
- Change action for building and publishing in `.github/workflows/deploy.yml`
- Update script for new action in `.github/workflows/deploy.yml`
  • Loading branch information
ajamaica committed Aug 11, 2023
1 parent d77a818 commit 2bfb7b5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 2bfb7b5

Please sign in to comment.