From d217fd6ecf4b2dd3c8c2d352071d866d06bb359e Mon Sep 17 00:00:00 2001 From: Mykhailo Kuznietsov Date: Tue, 28 Sep 2021 20:38:23 +0300 Subject: [PATCH] chore: Update release runner to ubuntu-20.04 (#148) Signed-off-by: Mykhailo Kuznietsov --- .github/workflows/release.yml | 6 +++--- typescript-dto/build.sh | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 192f027153..d1383f6aa5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,9 +21,9 @@ on: required: false default: 'false' versionParent: - description: 'Specify Che Parent version here, if *releaseParent is true' + description: 'Specify Che Parent version here' required: false - default: '' + default: '7.15.0' forceRecreateTags: description: 'If true, tags will be overriden and regenerated. Use with caution.' required: false @@ -43,7 +43,7 @@ on: jobs: build: - runs-on: ubuntu-16.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: diff --git a/typescript-dto/build.sh b/typescript-dto/build.sh index 8871bb7128..9d10893651 100755 --- a/typescript-dto/build.sh +++ b/typescript-dto/build.sh @@ -24,7 +24,8 @@ docker run -i --rm -v "$HOME/.m2:/root/.m2" \ set - # validate that index.d.ts has kind of valid output if ! grep "export namespace" index.d.ts; then - echo "Invalid output generated for index.d.ts" + echo "Invalid output generated for index.d.ts, printing its content:" + cat index.d.ts exit 1 fi