Skip to content

Commit

Permalink
Update sonarcloud.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmjr authored Sep 27, 2023
1 parent b8b737c commit a42fe48
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ jobs:
with:
java-version: 11
distribution: 'zulu' # Alternative distribution options are available.
- name: Checkout the repository being compiled
uses: actions/checkout@v3
with:
path: Repo
- name: Checkout the Packages repository alongside the one being compiled
uses: actions/checkout@v3
with:
repository: dgmjr-io/Packages
path: Packages
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
Expand All @@ -43,13 +34,23 @@ jobs:
run: |
New-Item -Path .\.sonar\scanner -ItemType Directory
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner
- name: Checkout the repository being compiled
uses: actions/checkout@v3
with:
path: Repo
- name: Checkout the Packages repository alongside the one being compiled
uses: actions/checkout@v3
with:
repository: dgmjr-io/Packages
path: Packages
- name: Run setup-dgmjrsdk
uses: dgmjr-actions/setup-dgmjrsdk@main
with:
git-token: ${{ secrets.GITHUB_TOKEN }}
environment: Release
git-nuget-endpoint: ${{ vars.GIT_NUGET_ENDPOINT }}
private-nuget-endpoint: ${{ vars.DGMJR_IO_NUGET_ENDPOINT }}
private-nuget-endpoint: ${{ vars.PROGET_ENDPOINT_URL }}
private-nuget-api-key: ${{ secrets.PROGET_API_KEY }}
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
Expand Down

0 comments on commit a42fe48

Please sign in to comment.