bitfoundation / bitplatform

Build all of your apps using what you already know and love ❤️
https://bitplatform.dev
MIT License
1.04k stars 216 forks source link

CI/CD Action Error #7373

Closed amirzaeii closed 2 weeks ago

amirzaeii commented 2 months ago

Is there an existing issue for this?

Describe the bug

Hi guys, When I want use Github actions for ci/cd i got a error that i attched I install all workloads and prerequesties anybody knows why? Screenshot 2024-04-13 143109

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

8.0.203

Anything else?

No response

amirzaeii commented 2 months ago

my os is wnidows 11 pro edition with visual studio 17.9.0

msynk commented 2 months ago

@amirzaeii Thanks for contacting us. to build the Web project you first need to install the wasm-tools workload of the .NET SDK. you can check our own CI pipeline in this file: https://github.com/bitfoundation/bitplatform/blob/develop/.github/workflows/bit.ci.yml

this specific step: image

Note: if you don't need to build the MAUI project you can omit the maui-android workload. also, the wasm-experimental workload is optional.

amirzaeii commented 2 months ago

Thank you @msynk But I install all workloads like this page https://bitplatform.dev/templates/development-prerequisites

msynk commented 2 months ago

@amirzaeii did you add that specific step to your github action?

btw, remember to run the command inside the src folder.

amirzaeii commented 2 months ago

Nah I didn't add any other step...

msynk commented 2 months ago

you need to add it. since each run of the pipeline runs on a random VM instance so to make sure everything is available there, you need to have all the required steps in the github action yml file. lemme know plz if your problem is solved.

msynk commented 2 weeks ago

I'm closing this issue since there has been no activity in a long time.