Skip to content

Commit

Permalink
added build CI in git-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
trungcaot committed May 12, 2024
1 parent 315b4ea commit 9c03803
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/BuildandDeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and Deploy
on:
push:
branches:
- dev
- qa

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Restore & Build .Net Core solution
run: |
dotnet build source/DevSecOpsOne.Api/DevSecOpsOne.Api.csproj

0 comments on commit 9c03803

Please sign in to comment.