Skip to content

Commit

Permalink
Merge pull request #21 from thefightagainstmalware/pandaninjas-valida…
Browse files Browse the repository at this point in the history
…te-gradle-wrapper

Validate Gradle wrapper
  • Loading branch information
pandaninjas authored Dec 3, 2023
2 parents 083d41d + 9d96f27 commit 89826a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ jobs:

- name: Enable verbose logging of dependencies
run: echo "org.gradle.dependency.verification.console=verbose" >> $GITHUB_WORKSPACE/gradle.properties

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Build with Gradle
run: ./gradlew build --no-daemon

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,16 @@ jobs:
with:
java-version: '8'
distribution: 'corretto'

- name: Add the release signing secret key
if: github.ref_name == 'main'
run: echo -n "$GPG_SIGNING_KEY" | gpg --import
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Setup gradle build
uses: gradle/gradle-build-action@6778644d759ada84c71d6abc2f6fd7e328c600ab

Expand Down

0 comments on commit 89826a7

Please sign in to comment.