-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontinuous-integration-workflow.yml
More file actions
31 lines (24 loc) · 1.07 KB
/
continuous-integration-workflow.yml
File metadata and controls
31 lines (24 loc) · 1.07 KB
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: Models Continuous Integration
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
dotnet-version: ['6.0.x']
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup .NET Core SDK 60
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Add Azure artifact
run: dotnet nuget add source 'https://pkgs.dev.azure.com/e-LfH/_packaging/LearningHubFeed/nuget/v3/index.json' --name 'LearningHubFeed' --username 'kevin.whittaker' --password ${{ secrets.AZURE_DEVOPS_PAT }} --store-password-in-clear-text
- name: Restore dependencies
run: dotnet restore
- name: Build elfhHub models projects
run: |
dotnet build LearningHub.Nhs.Models.sln --configuration release
#- name: Push generated package to GitHub registry
# run: dotnet nuget push "**/bin/Release/*.nupkg" --source https://nuget.pkg.github.com/TechnologyEnhancedLearning/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate