Skip to content

18.2.1

Choose a tag to compare

@github-actions github-actions released this 04 Nov 04:28

Description

Abstract

Remove quates from SonarSource/sonarqube-scan-action args to fix errors on v6 series.

Background

The latest version of Action has changed how quotation marks are handled, so an error occurred.
In workflow, quotation marks were used in places where they were not needed, so I removed them.

Final error

 java.lang.IllegalStateException: java.nio.file.NoSuchFileException: /home/runner/work/scenario_simulator_v2/scenario_simulator_v2/"src/scenario_simulator_v2/bw-output/compile_commands.json"
image

References

Acton document for args: https://github.com/SonarSource/sonarqube-scan-action#args

It says that quoting and escaping is limited from v6 to prevent command injection.

After deleting quotes, sonar qube action is going fine.
#1729 (comment)

Destructive Changes

None

Known Limitations

None

Related Issues