Skip to content

Commit

Permalink
Move it before the first gradle action
Browse files Browse the repository at this point in the history
  • Loading branch information
pandaninjas authored Dec 2, 2023
1 parent 74c1894 commit 29c0383
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,21 @@ 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

- 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

0 comments on commit 29c0383

Please sign in to comment.