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
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest

steps:
- name: Checkout code
Expand All @@ -35,7 +35,7 @@ jobs:
run: |
$OutputDir = "nuget-packages"
New-Item -ItemType Directory -Force -Path $OutputDir
Get-ChildItem -Path . -Recurse -Filter *.nupkg | Copy-Item -Destination $OutputDir
Get-ChildItem -Path . -Recurse -Include *.nupkg,*.snupkg | Copy-Item -Destination $OutputDir

- name: Upload NuGet packages as artifacts
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -71,3 +71,4 @@ jobs:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: |
dotnet nuget push ./nuget-packages/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
dotnet nuget push ./nuget-packages/*.snupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
2 changes: 2 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
<PackageTags>http server lightweight self-contained sse iot desktop tools diagnostics</PackageTags>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild Condition="'$(ContinuousIntegrationBuild)'=='' and '$(CI)'!=''">true</ContinuousIntegrationBuild>

<!-- General build properties -->
<Nullable>enable</Nullable>
Expand Down
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"^refs/heads/release/\\d+(?:\\.\\d+)?$"
],
"cloudBuild": {
"setAllVariables": true,
"setAllVariables": false,
"buildNumber": {
"enabled": true
"enabled": false
}
},
"release": {
Expand Down