bitplatform icon indicating copy to clipboard operation
bitplatform copied to clipboard

CI/CD Action Error

Open amirzaeii opened this issue 1 year ago • 6 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

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 avatar Apr 14 '24 08:04 amirzaeii

my os is wnidows 11 pro edition with visual studio 17.9.0

amirzaeii avatar Apr 14 '24 08:04 amirzaeii

@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.

msynk avatar Apr 14 '24 10:04 msynk

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

amirzaeii avatar Apr 14 '24 17:04 amirzaeii

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

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

msynk avatar Apr 14 '24 17:04 msynk

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

amirzaeii avatar Apr 14 '24 17:04 amirzaeii

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 avatar Apr 15 '24 08:04 msynk

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

msynk avatar Jun 18 '24 09:06 msynk