-
Notifications
You must be signed in to change notification settings - Fork 10
31 lines (27 loc) · 812 Bytes
/
build.yml
File metadata and controls
31 lines (27 loc) · 812 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
28
29
30
31
name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Release
- name: Test
env:
CIOS_SITE_ID: ${{ secrets.CIOS_SITE_ID }}
CIOS_API_KEY: ${{ secrets.CIOS_API_KEY }}
CIOS_BROADCAST_CAMPAIGN_ID: ${{ secrets.CIOS_BROADCAST_CAMPAIGN_ID }}
CIOS_BROADCAST_SEGMENT_ID: ${{ secrets.CIOS_BROADCAST_SEGMENT_ID }}
CIOS_APP_API_KEY: ${{ secrets.CIOS_APP_API_KEY }}
run: dotnet test --no-build --verbosity normal -c Release