Open marohrdanz opened 1 year ago
In addition to the issues mentioned above, perhaps the code shouldn't be including anything with an image with an absolute URL? Maybe if (tok.contains("images/")) { should be if (tok.contains("images/") && !tok.startsWith("http")) {
I looked around an noticed that different people were having issues a recently with code sometimes not being run on ubuntu systems after some changes on github's side regarding which builds are being used for the runners. https://github.com/actions/runner-images/issues/7733
Is there anything in our action that we can use to verify that that code is actually being run when we use the runs-on: ubuntu-<version or 'latest'> setting. Perhaps the code should be failing consistently for all systems, but it just isn't actually being run on the ubuntu system at all so therefore we don't get an error from it?
@jmelott we can look into it. For reference: ant -f build_ngchmApp.xml
runs just fine manually on RedHat linux also.
We have several GitHub Action workflows to build artifacts from this repository. For unknown reasons, they only work with
On both macOS and windows, an error occurs when running
ant -f build_ngchmApp.xml
in the targetcreate_server_app_dir
. The code appears to be reading in file custom.js as a string, and crashes when it gets to the part of the string:Because this part contains the substrings "images/" and ".png", the function
CompilerUtilities.copyLineAndImages()
attempts to copy a file "cbioportal_logo.png", which of course doesn't exist in our repo. Here is that function for quick reference:A few mysteries:
As a stab in the dark, we wondered if updating the closure compiler jar file would address the issue. I tried updating from
closure-compiler-v20200204.jar
->closure-compiler-v20230502.jar
, and compiling with the required java 11. However the issue remains.