Ensure proper read permissions and cleanup build.sh (#259)

* Add linux read permissions and cleanup build.sh

* More verbose dirty branch

* Simplify added verbosity
This commit is contained in:
Webber Takken
2021-05-10 01:08:53 +02:00
committed by GitHub
parent e31af20466
commit a5de621fe2
4 changed files with 1958 additions and 1933 deletions

View File

@@ -251,8 +251,14 @@ export default class Versioning {
*/
static async isDirty() {
const output = await this.git(['status', '--porcelain']);
const isDirty = output !== '';
return output !== '';
if (isDirty) {
core.warning('Changes were made to the following files and folders:\n');
core.warning(output);
}
return isDirty;
}
/**