Skip to content

Commit e7aba1f

Browse files
committed
Separate file
1 parent 603be9c commit e7aba1f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish Template NuGet
2+
on:
3+
push:
4+
branches: [ main ]
5+
jobs:
6+
publish-nuget:
7+
runs-on: ubuntu-latest
8+
name: publish template nuget
9+
env:
10+
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-dotnet@v3
14+
- name: Publish Bicep.LocalDeploy.Templates template package on version change
15+
uses: alirezanet/[email protected]
16+
with:
17+
PACKAGE_NAME: Bicep.LocalDeploy.Templates
18+
PROJECT_FILE_PATH: src/Bicep.LocalDeploy.Templates/Bicep.LocalDeploy.Templates.csproj
19+
VERSION_FILE_PATH: Nuget/Build.Templates.props
20+
TAG_COMMIT: false

0 commit comments

Comments
 (0)