Skip to content

Commit

Permalink
Fix code ql build
Browse files Browse the repository at this point in the history
  • Loading branch information
farodin91 committed Nov 25, 2021
1 parent 2b4cc3a commit 7c55d41
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 46 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,28 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

- name: Install dependencies
run: dotnet restore Motor.NET.sln

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}

- name: Build
run: dotnet build --configuration Release --no-restore Motor.NET.sln

- name: Test
run: dotnet test --no-restore Motor.NET.sln
- name: Pack
run: dotnet pack -v minimal -c Release --no-restore -o ./artifacts Motor.NET.sln
- name: Publish Bridge
run: dotnet publish -v minimal -c Release --no-restore -o ./artifacts-bridge ./src/Motor.Extensions.Hosting.Bridge/Motor.Extensions.Hosting.Bridge.csproj

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 7c55d41

Please sign in to comment.