-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 892 Bytes
/
nuget.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
name: Publish on NuGet
on:
push:
branches: [ main ]
jobs:
publish:
name: Build and publish packages
runs-on: ubuntu-latest
environment:
name: nuget
url: https://github.com
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}
- name: Build and publish Incendium.Result if version changed
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: Incendium.Result/Incendium.Result.csproj
PACKAGE_NAME: Incendium.Result
NUGET_KEY: ${{ secrets.NUGET_KEY }}
- name: Build and publish Incendium.RetryPolicy if version changed
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: Incendium.RetryPolicy/Incendium.RetryPolicy.csproj
PACKAGE_NAME: Incendium.RetryPolicy
NUGET_KEY: ${{ secrets.NUGET_KEY }}