Is your feature request related to a problem?
The "Delete signing key files" step is included in the workflows, although it is unnecessary since the SSH key files are not sensitive. It adds unnecessary complexity (e.g., declaring a local env variable just to check if the step should be executed) and according to the documentation, the runner.temp directory "is emptied at the beginning and end of each job" anyway.
Describe the desired solution
The "Delete signing key files" step should be removed from all workflows.
Describe the alternatives that you have considered
An alternative would be to run the "Delete signing key files" step based on the existence of the key files using hashFiles(). However, this would not work because hashFiles() only has access to files in the GITHUB_WORKSPACE, and the necessary files are in the runner.temp directory.
Additional context
No response
Code of Conduct
Is your feature request related to a problem?
The "Delete signing key files" step is included in the workflows, although it is unnecessary since the SSH key files are not sensitive. It adds unnecessary complexity (e.g., declaring a local env variable just to check if the step should be executed) and according to the documentation, the
runner.tempdirectory "is emptied at the beginning and end of each job" anyway.Describe the desired solution
The "Delete signing key files" step should be removed from all workflows.
Describe the alternatives that you have considered
An alternative would be to run the "Delete signing key files" step based on the existence of the key files using
hashFiles(). However, this would not work becausehashFiles()only has access to files in theGITHUB_WORKSPACE, and the necessary files are in therunner.tempdirectory.Additional context
No response
Code of Conduct