GitHub actions fails because of spanish characters #26505
-
Hi, I’m new to GitHub Actions so on my first try it just fails. Check failure on line 50 in ByblosMiPH_API/Startup.cs ByblosMiPH_API/Startup.cs#L50
This is line 50:
The variables have accented characters. The code compiles perfectly on my machine. Why it fails when compiling on GitHub? Is there a way to configure the use of accented characters? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @oliveriod , Could you please share your workflow yml content here? Which type of runner do you use? Window, Ubuntu or MacOs? Which step failed? It would be better if you could share me a sample project . I could not reproduce your issue in my side. Does the line 50 of Startup.cs show correctly in code page? |
Beta Was this translation helpful? Give feedback.
-
Hi Yanjingzhu! Thanks for your reply. Yes, line 50 shows up correctly. I created a new very simple project that fails in the same way. You can find it here: https://github.com/oliveriod/MiPrueba Thanks again for your help. |
Beta Was this translation helpful? Give feedback.
-
Hi @oliveriod , What’s the operating system of your local work machine? Windows or Ubuntu? In your workflow , you choose ubuntu runnner to run your job. I tested using windows runner, it could build the project successfully. Please try runs-on: windows-latest .
|
Beta Was this translation helpful? Give feedback.
-
Hi Yanjingzhu! You were right! It works now! Thank you very much! |
Beta Was this translation helpful? Give feedback.
Hi @oliveriod ,
What’s the operating system of your local work machine? Windows or Ubuntu?
In your workflow , you choose ubuntu runnner to run your job.
I tested using windows runner, it could build the project successfully.
Please try runs-on: windows-latest .