diff --git a/.github/workflows/build-gradle-plugin.yml b/.github/workflows/build-gradle-plugin.yml index b46e971..3bac45e 100644 --- a/.github/workflows/build-gradle-plugin.yml +++ b/.github/workflows/build-gradle-plugin.yml @@ -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 diff --git a/.gitignore b/.gitignore index ebb8781..cf1acf8 100644 --- a/.gitignore +++ b/.gitignore @@ -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