-
-
Notifications
You must be signed in to change notification settings - Fork 119
48 lines (39 loc) · 1.25 KB
/
publish_lamar.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Publish Lamar IoC Nugets
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build Lamar.sln --configuration Release
- name: Publish Lamar
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: src/Lamar/Lamar.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
- name: Publish Lamar.Microsoft.DependencyInjection
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: src/Lamar.Microsoft.DependencyInjection/Lamar.Microsoft.DependencyInjection.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
- name: Publish Lamar.Diagnostics
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: src/Lamar.Diagnostics/Lamar.Diagnostics.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}