Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…to dev
  • Loading branch information
IvanJosipovic committed Oct 24, 2019
2 parents c4bf373 + 55bb3a9 commit 8308d43
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,34 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Setup .NET Core
uses: actions/setup-dotnet@master
with:
dotnet-version: 2.2.402
- name: SonarQube Install
run: dotnet tool install dotnet-sonarscanner --tool-path ./
- name: SonarQube Start
run: ./dotnet-sonarscanner begin /o:ivanjosipovic /k:IvanJosipovic_BlazorTable /d:sonar.host.url=https://sonarcloud.io /d:sonar.login=$SONARQUBE_TOKEN
env:
SONARQUBE_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
- name: Setup .NET Core
uses: actions/setup-dotnet@master
with:
dotnet-version: 3.1.100-preview1-014459
- name: Dotnet Build
run: dotnet build --configuration Release
- name: Dotnet Publish
working-directory: src/BlazorTable.Sample
run: dotnet publish --configuration Release
run: dotnet publish --configuration Release
- name: Setup .NET Core
uses: actions/setup-dotnet@master
with:
dotnet-version: 2.2.402
- name: SonarQube End
run: ./dotnet-sonarscanner end /d:sonar.login=$SONARQUBE_TOKEN
env:
SONARQUBE_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy to Test
id: netlify
uses: ivanjosipovic/actions/cli@master
Expand Down

0 comments on commit 8308d43

Please sign in to comment.