Skip to content

Commit 6b435e9

Browse files
author
PortaSFTPServer
committed
ci: always upload NuGet packages as build artifacts
1 parent 080d417 commit 6b435e9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ jobs:
6666
dotnet pack ApacheMinaSSHD.NET.Bindings/ApacheMinaSSHD.NET.Bindings.csproj -c Release --no-restore -o artifacts/nuget-ci /p:Version=0.0.0-ci.${{ github.run_number }} /p:PackageVersion=0.0.0-ci.${{ github.run_number }}
6767
dotnet pack ApacheMinaSSHD.NET.Wrapper/ApacheMinaSSHD.NET.Wrapper.csproj -c Release --no-restore -o artifacts/nuget-ci /p:Version=0.0.0-ci.${{ github.run_number }} /p:PackageVersion=0.0.0-ci.${{ github.run_number }}
6868
69+
- name: Upload NuGet artifacts
70+
uses: actions/upload-artifact@v4
71+
with:
72+
name: nuget-ci-${{ github.run_number }}
73+
path: artifacts/nuget-ci/*.nupkg
74+
if-no-files-found: error
75+
6976
- name: Client integration and stress tests
7077
shell: pwsh
7178
run: dotnet run -c Release --no-build --project SimpleSSHDSever/SimpleSSHDSever.csproj -- --integration-tests

0 commit comments

Comments
 (0)