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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
run: dotnet test --configuration Release -r win-x64
timeout-minutes: 1
- name: Package Foreman (Self-Contained)
run: dotnet publish Foreman --sc true -p:PublishSingleFile=true -o distsc -p:VersionPrefix=${{steps.tag.outputs.result}} -p:IncludeSourceRevisionInInformationalVersion=false -p:IncludeNativeLibrariesForSelfExtract=true --configuration Release -r win-x64
run: dotnet publish Foreman --sc -p:PublishSingleFile=true -o distsc -p:VersionPrefix=${{steps.tag.outputs.result}} -p:IncludeSourceRevisionInInformationalVersion=false -p:IncludeNativeLibrariesForSelfExtract=true --configuration Release -r win-x64
- name: Package Foreman (.NET Dependent)
run: dotnet publish Foreman --sc false -p:PublishSingleFile=true -o dist -p:VersionPrefix=${{steps.tag.outputs.result}} -p:IncludeSourceRevisionInInformationalVersion=false --configuration Release -r win-x64
run: dotnet publish Foreman --no-self-contained -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -o dist -p:VersionPrefix=${{steps.tag.outputs.result}} -p:IncludeSourceRevisionInInformationalVersion=false --configuration Release -r win-x64
- name: Archive Foreman (Self-Contained)
run: Compress-Archive -Path distsc/* -DestinationPath ForemanSC.zip
- name: Archive Foreman (.NET Dependent)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
}
};
await exec.exec('git', ['describe'], options);
return ret.substring(1).split('-')[0]
return ret.substring(1).split('-')[0].trim()
result-encoding: string
- name: Install .NET
uses: actions/setup-dotnet@v5.2.0
Expand All @@ -48,9 +48,9 @@ jobs:
run: dotnet test --configuration Release -r win-x64
timeout-minutes: 1
- name: Package Foreman (Self-Contained)
run: dotnet publish Foreman --sc true -p:PublishSingleFile=true -o distsc -p:VersionPrefix=${{steps.tag.outputs.result}} -p:VersionSuffix=SNAPSHOT -p:IncludeNativeLibrariesForSelfExtract=true --configuration Release -r win-x64
run: dotnet publish Foreman --sc -p:PublishSingleFile=true -o distsc -p:VersionPrefix=${{steps.tag.outputs.result}} -p:VersionSuffix=SNAPSHOT -p:IncludeNativeLibrariesForSelfExtract=true --configuration Release -r win-x64
- name: Package Foreman (.NET Dependent)
run: dotnet publish Foreman --sc false -p:PublishSingleFile=true -o dist -p:VersionPrefix=${{steps.tag.outputs.result}} -p:VersionSuffix=SNAPSHOT --configuration Release -r win-x64
run: dotnet publish Foreman --no-self-contained -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -o dist -p:VersionPrefix=${{steps.tag.outputs.result}} -p:VersionSuffix=SNAPSHOT --configuration Release -r win-x64
- name: Archive Foreman (Self-Contained)
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions Foreman/Foreman.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<Sdk Name="DotNet.ReproducibleBuilds.Isolated" Version="2.0.2" />
<PropertyGroup>
<TargetFramework>net10.0-windows8.0</TargetFramework>
<OutputType>WinExe</OutputType>
Expand Down Expand Up @@ -35,6 +36,7 @@
<PackageReference Include="Google.OrTools" Version="9.15.6755" />
<PackageReference Include="Google.Protobuf" Version="3.34.1" />
<PackageReference Include="ZstdSharp.Port" Version="0.8.8" />
<PackageReference Include="DotNet.ReproducibleBuilds" Version="2.0.2" PrivateAssets="All"/>
</ItemGroup>
<ItemGroup>
<Compile Update="Controls\DataObjectCheckedListBox.cs">
Expand Down
6 changes: 6 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sdk": {
"version": "10.0.300",
"rollForward": "minor"
}
}
Loading