Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/cd-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:

# packs all nuget packages at once
- name: Pack MinimalCommandLine Nuget Alpha
run: dotnet pack src/System.CommandLine.Minimal/System.CommandLine.Minimal.csproj -c Release --no-build -p:PackageVersion=0.5.0.${{github.run_number}}-alpha
run: dotnet pack src/System.CommandLine.Minimal.sln -c Release --no-build -p:PackageVersion=0.5.0.${{github.run_number}}-alpha
- name: Pack MinimalCommandLine Nuget
run: dotnet pack src/System.CommandLine.Minimal/System.CommandLine.Minimal.csproj -c Release --no-build -p:PackageVersion=0.5.0.${{github.run_number}}
run: dotnet pack src/System.CommandLine.Minimal.sln -c Release --no-build -p:PackageVersion=0.5.0.${{github.run_number}}

- name: Publish MinimalCommandLine Artifacts
uses: actions/upload-artifact@v4
Expand All @@ -48,6 +48,10 @@ jobs:

- name: Display structure of downloaded files
run: ls -R
- name: Push MinimalCommandLine.Core Nuget
run: dotnet nuget push ./System.CommandLine.Minimal.Core/bin/Release/MinimalCommandLine.Core.0.5.0.${{github.run_number}}-alpha.nupkg --api-key ${{secrets.NUGETKEY}} --source https://api.nuget.org/v3/index.json
- name: Push MinimalCommandLine.SourceGenerator Nuget
run: dotnet nuget push ./System.CommandLine.Minimal.SourceGenerator/bin/Release/MinimalCommandLine.SourceGenerator.0.5.0.${{github.run_number}}-alpha.nupkg --api-key ${{secrets.NUGETKEY}} --source https://api.nuget.org/v3/index.json
- name: Push MinimalCommandLine Nuget
run: dotnet nuget push ./System.CommandLine.Minimal/bin/Release/MinimalCommandLine.0.5.0.${{github.run_number}}-alpha.nupkg --api-key ${{secrets.NUGETKEY}} --source https://api.nuget.org/v3/index.json

Expand All @@ -63,5 +67,9 @@ jobs:
with:
name: Nugets

- name: Push MinimalCommandLine.Core Nuget
run: dotnet nuget push ./System.CommandLine.Minimal.Core/bin/Release/MinimalCommandLine.Core.0.5.0.${{github.run_number}}.nupkg --api-key ${{secrets.NUGETKEY}} --source https://api.nuget.org/v3/index.json
- name: Push MinimalCommandLine.SourceGenerator Nuget
run: dotnet nuget push ./System.CommandLine.Minimal.SourceGenerator/bin/Release/MinimalCommandLine.SourceGenerator.0.5.0.${{github.run_number}}.nupkg --api-key ${{secrets.NUGETKEY}} --source https://api.nuget.org/v3/index.json
- name: Push MinimalCommandLine Nuget
run: dotnet nuget push ./System.CommandLine.Minimal/bin/Release/MinimalCommandLine.0.5.0.${{github.run_number}}.nupkg --api-key ${{secrets.NUGETKEY}} --source https://api.nuget.org/v3/index.json
run: dotnet nuget push ./System.CommandLine.Minimal/bin/Release/MinimalCommandLine.0.5.0.${{github.run_number}}.nupkg --api-key ${{secrets.NUGETKEY}} --source https://api.nuget.org/v3/index.json
1 change: 1 addition & 0 deletions src/DemoApp/DemoApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<Nullable>enable</Nullable>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>obj\Generated</CompilerGeneratedFilesOutputPath>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/HelloWorld/HelloWorld.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<Nullable>enable</Nullable>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>obj\Generated</CompilerGeneratedFilesOutputPath>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down