Skip to content

Commit

Permalink
Rolled back recent changes in build.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemmermann committed Sep 27, 2023
1 parent f1a1394 commit bbae4ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.event.head_commit.message, '🏁 Releasing version') != true
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Enable Sonar for local PRs not from Dependabot
Expand All @@ -21,18 +21,18 @@ jobs:
if: ${{ github.event.sender.login == 'dependabot[bot]' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) }}
run: echo "USE_SONAR=-sonar" >> $GITHUB_ENV
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v1
with:
java-version: 11
distribution: 'zulu'
- name: Cache SonarCloud packages
uses: actions/cache@v3
uses: actions/cache@v1
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v3
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down

0 comments on commit bbae4ed

Please sign in to comment.