samsface / godot-native-example

Example Godot native project using cmake
MIT License
32 stars 11 forks source link

New conan version seems to break the github actions: ERROR: The default build profile doesn't exist. #8

Closed LyffLyff closed 1 year ago

LyffLyff commented 1 year ago

System: Windows 10

Issue Description: Newer actions started using the example project and my own all fail the github action during the building process.

The Error stems from it not finding some default profile:

ERROR: The default build profile '/home/runner/.conan2/profiles/default' doesn't exist.

Old (Working) Build:

image

New Failing Build:

image

My Observations: I have noticed that the older builds were using Conan 1.58 and Python 3.11.1, but the never ones are using Conan 2.0.0 and Python 3.11.2.

Also the Code/Project builds the debug version fine on my machine, though there is an older installation of conan installed 1.55.0

Possible Fix: I'm not very experienced with this, but I think there would be two ways of fixing this:

  1. Forcing the Github Action to install an older version of conan instead of the newest one
  2. Somehow making this "default profile"

I'll try to find some fix that will work, but as mentioned I don't have any clue how Github Actions actually function.

LyffLyff commented 1 year ago

Fixed by #10