hi @fraguada ,
We’ve had an action on our github for almost two years now that has worked well with no changes.
Recently it started failing and I don’t see anything changed, not in our action, and not in the action on the mcneel side. But perhaps you have an idea of what is going on.
From our logs on github
with:
email-address: ***
env:
RHINO_TOKEN: ***
DOTNET_ROOT: C:\Program Files\dotnet
Downloading and installing the latest Rhino 3d...
Error: Error: Command failed: Start-Process -FilePath c:\temp\rhino_setup.exe -ArgumentList '-passive', '-norestart' -Wait
Start-Process : This command cannot be run due to the error: The file or directory is corrupted and unreadable.
At line:1 char:1
+ Start-Process -FilePath c:\temp\rhino_setup.exe -ArgumentList '-passi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Error: get-itemproperty : Cannot find path 'HKLM:\SOFTWARE\McNeel\Rhinoceros\8.0\Install' because it does not exist.
At line:1 char:32
+ ... [Version] (get-itemproperty -Path HKLM:\SOFTWARE\McNeel\Rhinoceros\8 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (HKLM:\SOFTWARE\...ros\8.0\Install:String) [Get-ItemProperty], ItemNotFo
undException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemPropertyCommand
and the action we’re using ourselves is:
name: Release Build
on:
push:
branches: [ "Release" ]
env:
RHINO_TOKEN: ${{ secrets.RHINO_TOKEN }}
jobs:
build-and-release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Install Rhino
uses: mcneel/setup-rhino3d@v2
id: setup_rhino
with:
email-address: ${{ secrets.RHINO_EMAIL }}
- name: Restore dependencies
run: dotnet restore
- name: Build (Yak Build Configuration)
run: dotnet msbuild LINK_EP.sln /t:Rebuild /p:Configuration="Yak Build" /v:minimal
- name: Test
run: dotnet test -c "Yak Build" --no-build --verbosity normal --framework "net7.0-windows"