Skip to content

Commit e504d7e

Browse files
committed
add shell bash
because it is failing otherwise 2025-12-26T14:47:34.8268665Z Current runner version: '2.330.0' 2025-12-26T14:47:34.8305382Z ##[group]Runner Image Provisioner 2025-12-26T14:47:34.8306505Z Hosted Compute Agent 2025-12-26T14:47:34.8307269Z Version: 20251211.462 2025-12-26T14:47:34.8308412Z Commit: 6cbad8c2bb55d58165063d031ccabf57e2d2db61 2025-12-26T14:47:34.8309446Z Build Date: 2025-12-11T16:28:49Z 2025-12-26T14:47:34.8310508Z Worker ID: {0ca93446-d6cb-4a0b-bcdc-4bd92ffa9397} 2025-12-26T14:47:34.8311606Z ##[endgroup] 2025-12-26T14:47:34.8312400Z ##[group]Operating System 2025-12-26T14:47:34.8313349Z Microsoft Windows Server 2025 2025-12-26T14:47:34.8314230Z 10.0.26100 2025-12-26T14:47:34.8314967Z Datacenter 2025-12-26T14:47:34.8315702Z ##[endgroup] 2025-12-26T14:47:34.8316503Z ##[group]Runner Image 2025-12-26T14:47:34.8317326Z Image: windows-2025 2025-12-26T14:47:34.8318114Z Version: 20251216.149.1 2025-12-26T14:47:34.8320335Z Included Software: https://github.com/actions/runner-images/blob/win25/20251216.149/images/windows/Windows2025-Readme.md 2025-12-26T14:47:34.8323056Z Image Release: https://github.com/actions/runner-images/releases/tag/win25%2F20251216.149 2025-12-26T14:47:34.8325081Z ##[endgroup] 2025-12-26T14:47:34.8326249Z ##[group]GITHUB_TOKEN Permissions 2025-12-26T14:47:34.8328452Z Contents: read 2025-12-26T14:47:34.8328951Z Metadata: read 2025-12-26T14:47:34.8329399Z ##[endgroup] 2025-12-26T14:47:34.8332375Z Secret source: Actions 2025-12-26T14:47:34.8333495Z Prepare workflow directory 2025-12-26T14:47:34.8740403Z Prepare all required actions 2025-12-26T14:47:34.8778614Z Getting action download info 2025-12-26T14:47:35.1512386Z Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5) 2025-12-26T14:47:35.2823063Z Download action repository 'actions/setup-dotnet@v4' (SHA:67a3573c9a986a3f9c594539f4ab511d57bb3ce9) 2025-12-26T14:47:35.7422068Z Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02) 2025-12-26T14:47:36.0883952Z Complete job name: build-binaries (windows-latest, win-arm64, network-monitor-win-arm64) 2025-12-26T14:47:36.2463438Z ##[group]Run actions/checkout@v4 2025-12-26T14:47:36.2464508Z with: 2025-12-26T14:47:36.2464924Z repository: kusl/NetworkMonitor 2025-12-26T14:47:36.2465667Z token: *** 2025-12-26T14:47:36.2466056Z ssh-strict: true 2025-12-26T14:47:36.2466451Z ssh-user: git 2025-12-26T14:47:36.2466870Z persist-credentials: true 2025-12-26T14:47:36.2467323Z clean: true 2025-12-26T14:47:36.2467730Z sparse-checkout-cone-mode: true 2025-12-26T14:47:36.2468217Z fetch-depth: 1 2025-12-26T14:47:36.2468608Z fetch-tags: false 2025-12-26T14:47:36.2469018Z show-progress: true 2025-12-26T14:47:36.2469427Z lfs: false 2025-12-26T14:47:36.2469819Z submodules: false 2025-12-26T14:47:36.2470258Z set-safe-directory: true 2025-12-26T14:47:36.2470906Z env: 2025-12-26T14:47:36.2471275Z DOTNET_NOLOGO: true 2025-12-26T14:47:36.2471714Z DOTNET_CLI_TELEMETRY_OPTOUT: true 2025-12-26T14:47:36.2472212Z ##[endgroup] 2025-12-26T14:47:36.4187596Z Syncing repository: kusl/NetworkMonitor 2025-12-26T14:47:36.4189632Z ##[group]Getting Git version info 2025-12-26T14:47:36.4190403Z Working directory is 'D:\a\NetworkMonitor\NetworkMonitor' 2025-12-26T14:47:36.5250323Z [command]"C:\Program Files\Git\bin\git.exe" version 2025-12-26T14:47:36.9348853Z git version 2.52.0.windows.1 2025-12-26T14:47:36.9410013Z ##[endgroup] 2025-12-26T14:47:36.9436885Z Temporarily overriding HOME='D:\a\_temp\72677d7c-70a3-4b34-8db3-2d02e5a48a55' before making global git config changes 2025-12-26T14:47:36.9441302Z Adding repository directory to the temporary git global config as a safe directory 2025-12-26T14:47:36.9450510Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\NetworkMonitor\NetworkMonitor 2025-12-26T14:47:37.0071438Z Deleting the contents of 'D:\a\NetworkMonitor\NetworkMonitor' 2025-12-26T14:47:37.0078248Z ##[group]Initializing the repository 2025-12-26T14:47:37.0088396Z [command]"C:\Program Files\Git\bin\git.exe" init D:\a\NetworkMonitor\NetworkMonitor 2025-12-26T14:47:37.1033229Z Initialized empty Git repository in D:/a/NetworkMonitor/NetworkMonitor/.git/ 2025-12-26T14:47:37.1083534Z [command]"C:\Program Files\Git\bin\git.exe" remote add origin https://github.com/kusl/NetworkMonitor 2025-12-26T14:47:37.1692042Z ##[endgroup] 2025-12-26T14:47:37.1693421Z ##[group]Disabling automatic garbage collection 2025-12-26T14:47:37.1702137Z [command]"C:\Program Files\Git\bin\git.exe" config --local gc.auto 0 2025-12-26T14:47:37.2003701Z ##[endgroup] 2025-12-26T14:47:37.2005959Z ##[group]Setting up auth 2025-12-26T14:47:37.2024622Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand 2025-12-26T14:47:37.2331009Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\"" 2025-12-26T14:47:38.7026954Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2025-12-26T14:47:38.7332916Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :\"" 2025-12-26T14:47:39.2731584Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp ^includeIf\.gitdir: 2025-12-26T14:47:39.3044798Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --show-origin --name-only --get-regexp remote.origin.url" 2025-12-26T14:47:39.8124868Z [command]"C:\Program Files\Git\bin\git.exe" config --local http.https://github.com/.extraheader "AUTHORIZATION: basic ***" 2025-12-26T14:47:39.8464405Z ##[endgroup] 2025-12-26T14:47:39.8465162Z ##[group]Fetching the repository 2025-12-26T14:47:39.8483060Z [command]"C:\Program Files\Git\bin\git.exe" -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +42cc3b472d5a00fa36b388f336d5280b9788f9ea:refs/remotes/origin/master 2025-12-26T14:47:40.9188189Z From https://github.com/kusl/NetworkMonitor 2025-12-26T14:47:40.9189148Z * [new ref] 42cc3b4 -> origin/master 2025-12-26T14:47:40.9573270Z ##[endgroup] 2025-12-26T14:47:40.9573874Z ##[group]Determining the checkout info 2025-12-26T14:47:40.9577268Z ##[endgroup] 2025-12-26T14:47:40.9589429Z [command]"C:\Program Files\Git\bin\git.exe" sparse-checkout disable 2025-12-26T14:47:41.0079595Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all extensions.worktreeConfig 2025-12-26T14:47:41.0366147Z ##[group]Checking out the ref 2025-12-26T14:47:41.0376283Z [command]"C:\Program Files\Git\bin\git.exe" checkout --progress --force -B master refs/remotes/origin/master 2025-12-26T14:47:41.1294442Z branch 'master' set up to track 'origin/master'. 2025-12-26T14:47:41.1303291Z Reset branch 'master' 2025-12-26T14:47:41.1343983Z ##[endgroup] 2025-12-26T14:47:41.1744915Z [command]"C:\Program Files\Git\bin\git.exe" log -1 --format=%H 2025-12-26T14:47:41.2017965Z 42cc3b4 2025-12-26T14:47:41.2406623Z ##[group]Run actions/setup-dotnet@v4 2025-12-26T14:47:41.2406939Z with: 2025-12-26T14:47:41.2407108Z dotnet-version: 10.0.x 2025-12-26T14:47:41.2407318Z dotnet-quality: preview 2025-12-26T14:47:41.2407505Z cache: false 2025-12-26T14:47:41.2407650Z env: 2025-12-26T14:47:41.2407791Z DOTNET_NOLOGO: true 2025-12-26T14:47:41.2408000Z DOTNET_CLI_TELEMETRY_OPTOUT: true 2025-12-26T14:47:41.2408231Z ##[endgroup] 2025-12-26T14:47:41.6121712Z [command]"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command & 'D:\a\_actions\actions\setup-dotnet\v4\externals\install-dotnet.ps1' -SkipNonVersionedFiles -Runtime dotnet -Channel LTS 2025-12-26T14:47:49.4345253Z dotnet-install: .NET Core Runtime with version '10.0.1' is already installed. 2025-12-26T14:47:49.8186154Z [command]"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command & 'D:\a\_actions\actions\setup-dotnet\v4\externals\install-dotnet.ps1' -SkipNonVersionedFiles -Channel 10.0 -Quality preview 2025-12-26T14:47:58.3377282Z dotnet-install: Downloaded file https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.100-rc.2.25502.107/dotnet-sdk-10.0.100-rc.2.25502.107-win-x64.zip size is 301635333 bytes. 2025-12-26T14:47:58.3395028Z dotnet-install: Either downloaded or local package size can not be measured. One of them may be corrupted. 2025-12-26T14:47:58.3421305Z dotnet-install: Extracting the archive. 2025-12-26T14:48:24.1377736Z dotnet-install: Note that the script does not ensure your Windows version is supported during the installation. 2025-12-26T14:48:24.1382817Z dotnet-install: To check the list of supported versions, go to https://learn.microsoft.com/dotnet/core/install/windows#supported-versions 2025-12-26T14:48:24.1389045Z dotnet-install: Installed version is 10.0.100-rc.2.25502.107 2025-12-26T14:48:24.1394910Z dotnet-install: Installation finished 2025-12-26T14:48:24.2090561Z ##[group]Run dotnet restore src/NetworkMonitor.slnx 2025-12-26T14:48:24.2090985Z �[36;1mdotnet restore src/NetworkMonitor.slnx�[0m 2025-12-26T14:48:24.2173267Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'" 2025-12-26T14:48:24.2173589Z env: 2025-12-26T14:48:24.2173740Z DOTNET_NOLOGO: true 2025-12-26T14:48:24.2173932Z DOTNET_CLI_TELEMETRY_OPTOUT: true 2025-12-26T14:48:24.2174160Z DOTNET_ROOT: C:\Program Files\dotnet 2025-12-26T14:48:24.2174375Z ##[endgroup] 2025-12-26T14:48:31.3527706Z Determining projects to restore... 2025-12-26T14:48:45.5702834Z Restored D:\a\NetworkMonitor\NetworkMonitor\src\NetworkMonitor.Console\NetworkMonitor.Console.csproj (in 13 sec). 2025-12-26T14:48:45.5704455Z Restored D:\a\NetworkMonitor\NetworkMonitor\src\NetworkMonitor.Core\NetworkMonitor.Core.csproj (in 13 sec). 2025-12-26T14:48:46.0927342Z Restored D:\a\NetworkMonitor\NetworkMonitor\src\NetworkMonitor.Tests\NetworkMonitor.Tests.csproj (in 13.65 sec). 2025-12-26T14:48:46.2477672Z ##[group]Run dotnet publish src/NetworkMonitor.Console/NetworkMonitor.Console.csproj \ 2025-12-26T14:48:46.2478351Z �[36;1mdotnet publish src/NetworkMonitor.Console/NetworkMonitor.Console.csproj \�[0m 2025-12-26T14:48:46.2478775Z �[36;1m --configuration Release \�[0m 2025-12-26T14:48:46.2479008Z �[36;1m --runtime win-arm64 \�[0m 2025-12-26T14:48:46.2479233Z �[36;1m --self-contained true \�[0m 2025-12-26T14:48:46.2479465Z �[36;1m -p:PublishSingleFile=true \�[0m 2025-12-26T14:48:46.2479716Z �[36;1m -p:PublishTrimmed=false \�[0m 2025-12-26T14:48:46.2480004Z �[36;1m -p:IncludeNativeLibrariesForSelfExtract=true \�[0m 2025-12-26T14:48:46.2480311Z �[36;1m --output ./publish/win-arm64�[0m 2025-12-26T14:48:46.2549919Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'" 2025-12-26T14:48:46.2550254Z env: 2025-12-26T14:48:46.2550404Z DOTNET_NOLOGO: true 2025-12-26T14:48:46.2550595Z DOTNET_CLI_TELEMETRY_OPTOUT: true 2025-12-26T14:48:46.2550882Z DOTNET_ROOT: C:\Program Files\dotnet 2025-12-26T14:48:46.2551090Z ##[endgroup] 2025-12-26T14:48:47.0101512Z �[31;1mParserError: �[0mD:\a\_temp\ec6a536f-1e8d-4369-b106-cf21002df89b.ps1:3�[0m 2025-12-26T14:48:47.0102692Z �[31;1m�[0m�[36;1mLine |�[0m 2025-12-26T14:48:47.0103400Z �[31;1m�[0m�[36;1m�[36;1m 3 | �[0m --�[36;1mc�[0monfiguration Release \�[0m 2025-12-26T14:48:47.0104152Z �[31;1m�[0m�[36;1m�[36;1m�[0m�[36;1m�[0m�[36;1m | �[31;1m ~�[0m 2025-12-26T14:48:47.0104930Z �[31;1m�[0m�[36;1m�[36;1m�[0m�[36;1m�[0m�[36;1m�[31;1m�[31;1m�[36;1m | �[31;1mMissing expression after unary operator '--'.�[0m 2025-12-26T14:48:47.0656290Z ##[error]Process completed with exit code 1. 2025-12-26T14:48:47.0878375Z Post job cleanup. 2025-12-26T14:48:47.3444802Z [command]"C:\Program Files\Git\bin\git.exe" version 2025-12-26T14:48:47.3749243Z git version 2.52.0.windows.1 2025-12-26T14:48:47.3841492Z Temporarily overriding HOME='D:\a\_temp\0c0078b0-b8d8-40f7-beb0-46af74525451' before making global git config changes 2025-12-26T14:48:47.3842733Z Adding repository directory to the temporary git global config as a safe directory 2025-12-26T14:48:47.3853920Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\NetworkMonitor\NetworkMonitor 2025-12-26T14:48:47.4186544Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand 2025-12-26T14:48:47.4527346Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\"" 2025-12-26T14:48:48.0027579Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2025-12-26T14:48:48.0312034Z http.https://github.com/.extraheader 2025-12-26T14:48:48.0363990Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all http.https://github.com/.extraheader 2025-12-26T14:48:48.0677514Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :\"" 2025-12-26T14:48:48.6070259Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp ^includeIf\.gitdir: 2025-12-26T14:48:48.6372855Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --show-origin --name-only --get-regexp remote.origin.url" 2025-12-26T14:48:49.2054252Z Cleaning up orphan processes 2025-12-26T14:48:49.2343371Z Terminate orphan process: pid (996) (dotnet) 2025-12-26T14:48:49.2456548Z Terminate orphan process: pid (9272) (dotnet) 2025-12-26T14:48:49.2525870Z Terminate orphan process: pid (4876) (conhost) see also https://github.com/kusl/MyDesktopApplication/blob/master/.github/workflows/build-and-release.yml
1 parent 4e4c846 commit e504d7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
run: dotnet restore src/NetworkMonitor.slnx
6262

6363
- name: Build and Publish
64+
shell: bash
6465
run: |
6566
dotnet publish src/NetworkMonitor.Console/NetworkMonitor.Console.csproj \
6667
--configuration Release \

0 commit comments

Comments
 (0)