Skip to content

Commit 30545a2

Browse files
Remove unnecessary steps in sonar-cloud job
1 parent cb77785 commit 30545a2

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

.github/workflows/post-integration.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,6 @@ jobs:
6565
fetch-depth: 0
6666
token: ${{ secrets.PAT_WORKFLOWS }}
6767

68-
- name: ⚛️ Sets environment variables - branch-name
69-
uses: nelonoel/branch-name@v1.0.1
70-
71-
- name: ⚛️ Sets environment variables - Nerdbank.GitVersioning
72-
uses: dotnet/nbgv@master
73-
with:
74-
setAllVars: true
75-
7668
- name: ⚙️ Set up JDK 11
7769
uses: actions/setup-java@v1
7870
with:
@@ -123,18 +115,4 @@ jobs:
123115
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
124116
shell: pwsh
125117
run: |
126-
dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
127-
128-
- name: ⏩ Merge to stable-branch
129-
run: |
130-
git config --local user.email ${{ env.ATC_EMAIL }}
131-
git config --local user.name ${{ env.ATC_NAME }}
132-
git checkout stable
133-
git merge --ff-only main
134-
git push origin stable
135-
136-
- name: 🗳️ Creating library package for pre-release
137-
run: dotnet pack -c Release --no-restore -o ${GITHUB_WORKSPACE}/packages -p:RepositoryBranch=$BRANCH_NAME
138-
139-
- name: 📦 Push packages to GitHub Package Registry
140-
run: dotnet nuget push ${GITHUB_WORKSPACE}/packages/'Atc.Azure.Messaging.'${NBGV_NuGetPackageVersion}'.nupkg' -k ${{ secrets.GITHUB_TOKEN }} -s ${{ env.NUGET_REPO_URL }} --skip-duplicate
118+
dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"

0 commit comments

Comments
 (0)