Skip to content

Commit 90ac376

Browse files
authored
Update nuget.yml
1 parent 709275d commit 90ac376

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/nuget.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ jobs:
4848
- name: Build the project and source generator
4949
run: |
5050
dotnet build SimpleViewModel/SimpleViewModel.csproj --configuration Release --no-restore
51-
dotnet build EnumSourceGenerator/EnumSourceGenerator.csproj --configuration Release --no-restore
51+
dotnet build ViewModelGenerator/ViewModelGenerator.csproj --configuration Release --no-restore
5252
5353
- name: Pack the NuGet package
5454
run: |
5555
dotnet pack SimpleViewModel/SimpleViewModel.csproj --configuration Release --no-build --output ./nupkg
5656
mkdir -p ./nupkg/analyzers/dotnet/cs/
57-
if [ -f EnumSourceGenerator/bin/Release/netstandard2.0/EnumSourceGenerator.dll ]; then
57+
if [ -f ViewModelGenerator/bin/Release/netstandard2.0/ViewModelGenerator.dll ]; then
5858
echo "Source Generator DLL found, copying..."
59-
cp EnumSourceGenerator/bin/Release/netstandard2.0/EnumSourceGenerator.dll ./nupkg/analyzers/dotnet/cs/
59+
cp ViewModelGenerator/bin/Release/netstandard2.0/ViewModelGenerator.dll ./nupkg/analyzers/dotnet/cs/
6060
else
6161
echo "Source Generator DLL not found! Exiting."
6262
exit 1
@@ -68,7 +68,7 @@ jobs:
6868
mkdir -p ./package-inspection
6969
unzip ./nupkg/*.nupkg -d ./package-inspection/
7070
ls -R ./package-inspection
71-
if [ -f ./package-inspection/analyzers/dotnet/cs/EnumSourceGenerator.dll ]; then
71+
if [ -f ./package-inspection/analyzers/dotnet/cs/ViewModelGenerator.dll ]; then
7272
echo "Source Generator DLL is correctly packed!"
7373
else
7474
echo "Source Generator DLL is missing from the package!" && exit 1

0 commit comments

Comments
 (0)