File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments