-
Notifications
You must be signed in to change notification settings - Fork 3
27 lines (20 loc) · 729 Bytes
/
Copy pathci.yml
File metadata and controls
27 lines (20 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: CI
on:
push:
jobs:
buildApi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: dotnet restore
run: dotnet restore src/github-dashboard.api/github-dashboard.api.csproj
- name: dotnet build
run: dotnet build src/github-dashboard.api/github-dashboard.api.csproj --no-restore
buildFunction:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: dotnet restore
run: dotnet restore src/github-dashboard.function/github-dashboard.function.csproj
- name: dotnet build
run: dotnet build src/github-dashboard.function/github-dashboard.function.csproj --no-restore