Skip to content

Commit 0eed34c

Browse files
committed
9. attempt github package push
1 parent 8e16311 commit 0eed34c

File tree

2 files changed

+37
-38
lines changed

2 files changed

+37
-38
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ on:
66
- dev
77
paths-ignore:
88
- 'docs/**'
9-
pull_request:
10-
branches:
11-
- dev
12-
paths-ignore:
13-
- 'docs/**'
149

1510
env:
1611
VERSION: ''
@@ -27,9 +22,10 @@ jobs:
2722
- uses: dotnet/nbgv@master
2823
with:
2924
setAllVars: true
30-
- run: echo "NBGV_SemVer2 $NBGV_SemVer2"
31-
- run: echo "::set-env name=VERSION::$NBGV_NuGetPackageVersion"
32-
- run: echo "::set-env name=BRANCH::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
25+
- name: Setting VERSION and BRANCH env
26+
run: |
27+
echo "::set-env name=VERSION::$NBGV_NuGetPackageVersion"
28+
echo "::set-env name=BRANCH::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
3329
- name: Update tokens in project files
3430
uses: cschleiden/replace-tokens@v1
3531
with:
Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,48 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<PackageType>Template</PackageType>
5-
<PackageId>bunit.template</PackageId>
6-
<Title>bUnit Template Projects</Title>
7-
<Authors>Egil Hansen</Authors>
8-
<Company>Egil Hansen</Company>
9-
<Copyright>Egil Hansen</Copyright>
10-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
11-
<Description>A project template for a testing Blazor/Razor components using the bUnit library.</Description>
12-
<PackageDescription>
3+
<PropertyGroup>
4+
<PackageType>Template</PackageType>
5+
<PackageId>bunit.template</PackageId>
6+
<Title>bUnit Template Projects</Title>
7+
<Authors>Egil Hansen</Authors>
8+
<Company>Egil Hansen</Company>
9+
<Copyright>Egil Hansen</Copyright>
10+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
11+
<Description>A project template for a testing Blazor/Razor components using the bUnit library.</Description>
12+
<PackageDescription>
1313
A project template for a testing Blazor/Razor components using the bUnit library.
1414

1515
bUnit is a testing library for Blazor Components. You can easily define components under test in C# or Razor syntax and verify outcome using semantic HTML diffing/comparison logic. You can easily interact with and inspect components, trigger event handlers, provide cascading values, inject services, mock IJsRuntime, and perform snapshot testing.
1616

1717
The library's goal is to make it easy to write comprehensive, stable unit tests for Blazor Components/Razor Components. Go to bunit.egilhansen.com to learn more.
18-
</PackageDescription>
19-
<PackageTags>bUnit;razor components;blazor components;unit testing;testing blazor components;blazor server;blazor wasm</PackageTags>
20-
<PackageProjectUrl>https://github.com/egil/bunit</PackageProjectUrl>
21-
<TargetFramework>netstandard2.1</TargetFramework>
22-
<IncludeContentInPack>true</IncludeContentInPack>
23-
<IncludeBuildOutput>false</IncludeBuildOutput>
24-
<ContentTargetFolders>content</ContentTargetFolders>
25-
<AssemblyName>Bunit.Template</AssemblyName>
26-
<RootNamespace>Bunit</RootNamespace>
27-
</PropertyGroup>
18+
</PackageDescription>
19+
<PackageTags>bUnit;razor components;blazor components;unit testing;testing blazor components;blazor server;blazor wasm</PackageTags>
20+
<PackageProjectUrl>https://github.com/egil/bunit</PackageProjectUrl>
21+
<TargetFramework>netstandard2.1</TargetFramework>
22+
<IncludeContentInPack>true</IncludeContentInPack>
23+
<IncludeBuildOutput>false</IncludeBuildOutput>
24+
<ContentTargetFolders>content</ContentTargetFolders>
25+
<AssemblyName>Bunit.Template</AssemblyName>
26+
<RootNamespace>Bunit</RootNamespace>
27+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
28+
<RepositoryUrl>https://github.com/egil/bunit</RepositoryUrl>
29+
<Deterministic>true</Deterministic>
30+
</PropertyGroup>
2831

2932
<ItemGroup>
3033
<PackageReference Include="Nerdbank.GitVersioning" Version="3.1.91">
31-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
32-
<PrivateAssets>all</PrivateAssets>
34+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
35+
<PrivateAssets>all</PrivateAssets>
3336
</PackageReference>
3437
</ItemGroup>
3538

36-
<ItemGroup>
37-
<Content Include="template\**\*" Exclude="template\**\bin\**;template\**\obj\**;template\**\.vs\**" />
38-
<Compile Remove="**\*" />
39-
<Compile Remove="template\obj\**" />
40-
<Content Remove="template\obj\**" />
41-
<EmbeddedResource Remove="template\obj\**" />
42-
<None Remove="template\obj\**" />
43-
</ItemGroup>
39+
<ItemGroup>
40+
<Content Include="template\**\*" Exclude="template\**\bin\**;template\**\obj\**;template\**\.vs\**" />
41+
<Compile Remove="**\*" />
42+
<Compile Remove="template\obj\**" />
43+
<Content Remove="template\obj\**" />
44+
<EmbeddedResource Remove="template\obj\**" />
45+
<None Remove="template\obj\**" />
46+
</ItemGroup>
4447

4548
</Project>

0 commit comments

Comments
 (0)