Skip to content

Commit

Permalink
JAVA-3733 fix build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPhillips2020 committed Oct 15, 2024
1 parent 8bacf20 commit 1e1e2f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-gradle-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@bc6bd473bfd218b1718cf9d88aa51c89cced7826e06508014f0aca5888938c77 # v4.2.1
run: echo "The ${{ github.repository }} repo has been cloned to the runner
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- name: Setup Java
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
with:
java-version: 11
distribution: temurin

- name: 🐘 Setup Gradle
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
uses: gradle/actions/setup-gradle@v4

- name: Build Gradle Plugin
run: ./gradle-plugin/gradlew -p gradle-plugin/ build
run: cd gradle-plugin/ && ./gradlew build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ local.properties
# Typically, this file would be tracked if it contains build/dependency configurations:
.project

#need gradle wrapper, and jar files are usually ignored
!gradle/wrapper/gradle-wrapper.jar
# Gradle build directories
gradle-plugin/.gradle
gradle-plugin/build
Expand Down

0 comments on commit 1e1e2f2

Please sign in to comment.