fix: switch to explicit non-self-contained publishes

This commit is contained in:
2025-09-18 00:40:09 +02:00
parent 80c371c742
commit fd17f9e5ca
2 changed files with 11 additions and 4 deletions

View File

@@ -67,10 +67,10 @@ jobs:
- name: Publish executables - name: Publish executables
if: steps.check-release.outputs.should_release == 'true' if: steps.check-release.outputs.should_release == 'true'
run: | run: |
dotnet publish src/GithubRepoRemover/GithubRepoRemover.csproj -c Release -r win-x64 -p:PublishSingleFile=true -o dist/win-x64 dotnet publish src/GithubRepoRemover/GithubRepoRemover.csproj -c Release -r win-x64 -p:PublishSingleFile=true --no-self-contained -o dist/win-x64
dotnet publish src/GithubRepoRemover/GithubRepoRemover.csproj -c Release -r osx-x64 -p:PublishSingleFile=true -o dist/osx-x64 dotnet publish src/GithubRepoRemover/GithubRepoRemover.csproj -c Release -r osx-x64 -p:PublishSingleFile=true --no-self-contained -o dist/osx-x64
dotnet publish src/GithubRepoRemover/GithubRepoRemover.csproj -c Release -r osx-arm64 -p:PublishSingleFile=true -o dist/osx-arm64 dotnet publish src/GithubRepoRemover/GithubRepoRemover.csproj -c Release -r osx-arm64 -p:PublishSingleFile=true --no-self-contained -o dist/osx-arm64
dotnet publish src/GithubRepoRemover/GithubRepoRemover.csproj -c Release -r linux-x64 -p:PublishSingleFile=true -o dist/linux-x64 dotnet publish src/GithubRepoRemover/GithubRepoRemover.csproj -c Release -r linux-x64 -p:PublishSingleFile=true --no-self-contained -o dist/linux-x64
- name: Rename executables - name: Rename executables
if: steps.check-release.outputs.should_release == 'true' if: steps.check-release.outputs.should_release == 'true'

View File

@@ -12,6 +12,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
version.json = version.json version.json = version.json
EndProjectSection EndProjectSection
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
ProjectSection(SolutionItems) = preProject
scripts\create-release.ps1 = scripts\create-release.ps1
scripts\README.md = scripts\README.md
EndProjectSection
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@@ -40,6 +46,7 @@ Global
EndGlobalSection EndGlobalSection
GlobalSection(NestedProjects) = preSolution GlobalSection(NestedProjects) = preSolution
{2B5B700E-3B8B-480E-AF0C-11D13ECCE4B4} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B} {2B5B700E-3B8B-480E-AF0C-11D13ECCE4B4} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
{02EA681E-C7D8-13C7-8484-4AC65E1B71E8} = {8EC462FD-D22E-90A8-E5CE-7E832BA40C5D}
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {81026922-E0EA-40FF-95C8-5D4C1E82F5B2} SolutionGuid = {81026922-E0EA-40FF-95C8-5D4C1E82F5B2}