-
Notifications
You must be signed in to change notification settings - Fork 139
[Bug]: Error: No artifacts found for this project #1532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The way Create Release works is that it promotes a build to a release - it doesn't build the app again. When you say that earlier, you created a release and uploaded the binaries yourself - it sounds like you didn't use CI/CD workflow to create a build, which you then released - or? |
Yes sir, I did get a successful CICD run before this attempt but looking at the CICD it seems to also be throwing an error:
Error when evaluating 'if' for job 'Build'. .github/workflows/CICD.yaml (Line: 175, Col: 9): could not get operand for index access: could not get operand for index access: Error from function 'fromJson': empty input
|
Please use the GitHub UI instead of replying to the emails - it becomes confusing. |
The build itself was skipped, the error I showed there shows at the main Action page of the CI/CD under Annotations. Is there a specific log I can send? I've attached the initialization if that helps |
Does it say anything about why it skips the build? |
You can try to run the troubleshoot workflow - maybe you have a secret with an illegal value causing failures down the line |
I've narrowed this down to a JSON rendering issue in the build. This is the error: Error when evaluating 'if' for job 'Build'. .github/workflows/CICD.yaml (Line: 175, Col: 9): could not get operand for index access: could not get operand for index access: Error from function 'fromJson': empty input On that line: if: (!failure()) && (!cancelled()) && fromJson(needs.Initialization.outputs.buildOrderJson)[0].projectsCount > 0 So my assumption is that buildOrderJson is empty |
Attached is the CICD log. I did update to v7 of the libraries. It looks like in the DetermineProjectsToBuild step it does find my app and it comes back with JSON in the step. |
It looks like you have a secret, which contains a multi-line json construct. |
Did you locate the problematic secret? |
Yep! This was the Azure Credentials secret. It had line feeds in it and by removing them we were able to build. Thank you for following up sir! |
AL-Go version
6.4
Describe the issue
I have recently ran Update AL Go Settings to version 6.4 on a project in the App Store.
In the past I have ran the Create Release feature and uploaded the .app file which was signed.
When I run Create Release now I get this error:
Error: No artifacts found for this project
Error: Process completed with exit code 1.
Expected behavior
A .app file is created from the Create Release
Steps to reproduce
Run the Create Release Action
Additional context (logs, screenshots, etc.)
logs_36141548334.zip
Here are the logs of the run
The text was updated successfully, but these errors were encountered: