Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rinaldodev authored and orpiske committed Jul 29, 2024
1 parent d0042b9 commit faf59db
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
ref: main
persist-credentials: false
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- uses: actions/checkout@v4
with:
ref: main
persist-credentials: false
fetch-depth: 0
- name: Build with Maven
run: mvn -B -Pstandalone clean package --file pom.xml
- name: Release
Expand All @@ -44,4 +44,5 @@ jobs:

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
if: startsWith(github.ref, 'refs/heads/main')
uses: advanced-security/maven-dependency-submission-action@v4

0 comments on commit faf59db

Please sign in to comment.