Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
p3t authored Apr 21, 2024
1 parent 173c36f commit 541b4e3
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:

Expand Down

0 comments on commit 541b4e3

Please sign in to comment.