Skip to content

Commit

Permalink
build: install gradle on workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ssimiao authored Dec 9, 2024
1 parent 63751a8 commit fd66b91
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582

- name: Grant Execute Permission to Gradle
run: chmod +x ./core/gradlew

- name: Go to core
run: cd /core
- name: Build with Gradle
run: ./core/gradlew build
run: gradle build

- name: Publish to GitHub Packages
run: ./core/gradlew publish
run: gradle publish
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fd66b91

Please sign in to comment.