File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed
src/Blazor.Extensions.Logging Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: Publish
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - release
5
+ tags :
6
+ - ' v* ' # Push events to matching v*, i.e. v1.0, v20.15.10
7
7
8
8
jobs :
9
9
build :
@@ -12,16 +12,25 @@ jobs:
12
12
13
13
steps :
14
14
- uses : actions/checkout@v1
15
- with :
16
- ref : ' release'
17
15
- name : Setup .NET Core
18
16
uses : actions/setup-dotnet@v1
19
17
with :
20
18
dotnet-version : 3.1.100-preview1-014459
21
19
- name : Build
22
20
run : dotnet build --configuration Release
23
21
- name : Pack
24
- run : dotnet pack --configuration Release --output packages /p:Version=1.1.0-preview1
22
+ working-directory : src/Blazor.Extensions.Logging
23
+ run : dotnet pack --configuration Release
25
24
- name : Push
25
+ working-directory : src/Blazor.Extensions.Logging/bin/Release
26
26
run : |
27
- dotnet nuget push packages/Blazor.Extensions.Logging.1.1.0-preview1.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
27
+ dotnet nuget push Blazor.Extensions.Logging.*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
28
+ - name : Create Release
29
+ uses : actions/create-release@master
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+ with :
33
+ tag_name : ${{ github.ref }}
34
+ release_name : Release ${{ github.ref }}
35
+ draft : false
36
+ prerelease : false
Original file line number Diff line number Diff line change 12
12
<RazorLangVersion >3.0</RazorLangVersion >
13
13
<AddRazorSupportForMvc >true</AddRazorSupportForMvc >
14
14
<TargetsForTfmSpecificBuildOutput >$(TargetsForTfmSpecificBuildOutput);IncludeP2POutput</TargetsForTfmSpecificBuildOutput >
15
+ <PackageId >Blazor.Extensions.Logging</PackageId >
16
+ <PackageVersion >1.1.0-preview2</PackageVersion >
15
17
</PropertyGroup >
16
18
17
19
<ItemGroup >
You can’t perform that action at this time.
0 commit comments