I’m trying to create a simple CICD using gitlab on my project.
The thing that I’m trying to do is to store an env variable from a file and then pass is
as an argument to mbed compile.
it looks like this:
- $CICD_VERSION_STRING = Get-Content "VERSION_STRING.txt" -raw - mbed compile ......... -D CI_VERSION_STR=$CICD_VERSION_STRING
Howerever, it doesnt work, it seems to be a problem with the quotes marks… ive been trying these things also:
each of them didnt give me the correct result…
what am I doing wrong?