From 541b4e3b0ce70b1afe8383cacb40df63809b3a78 Mon Sep 17 00:00:00 2001 From: Peter Vigier <3204560+p3t@users.noreply.github.com> Date: Sun, 21 Apr 2024 12:45:12 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 723bffe..060c189 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,8 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MAVEN_USERNAME: ${{ secrets.MAVENCENTRAL_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVENCENTRAL_PASSWORD }} + GITHUBPKG_USERNAME: ${{ secrets.GITHUBPKG_USERNAME }} + GITHUBPKG_PASSWORD: ${{ secrets.GITHUBPKG_PASSWORD }} jobs: build: @@ -45,25 +47,11 @@ jobs: # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 # v3.1.0 - with: - dependency-graph: generate-and-submit +# with: +# dependency-graph: generate-and-submit - name: Build with Gradle Wrapper run: ./gradlew build - env: - GITHUBPKG_USERNAME: ${{ secrets.GITHUBPKG_USERNAME }} - GITHUBPKG_PASSWORD: ${{ secrets.GITHUBPKG_PASSWORD }} - - # NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html). - # If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version. - # - # - name: Setup Gradle - # uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0 - # with: - # gradle-version: '8.5' - # - # - name: Build with Gradle 8.5 - # run: gradle build dependency-submission: