From e4fcf99625ec7575462cd1f3c219a9bdf85c8764 Mon Sep 17 00:00:00 2001 From: Piotr Krzeminski Date: Mon, 28 Oct 2024 11:03:06 +0100 Subject: [PATCH] Adjust sizes a bit --- .github/workflows/check-upstream.main.kts | 11 +++++++---- .github/workflows/check-upstream.yaml | 3 ++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-upstream.main.kts b/.github/workflows/check-upstream.main.kts index e064d5ad1..7818d126b 100755 --- a/.github/workflows/check-upstream.main.kts +++ b/.github/workflows/check-upstream.main.kts @@ -28,14 +28,17 @@ workflow( git clone --branch master --single-branch https://bitbucket.org/snakeyaml/snakeyaml-engine.git cd snakeyaml-engine git log --oneline $(cat ../upstream-commit.txt)..master | wc -l > ../number-of-commits.txt - """.trimIndent() + """.trimIndent(), ) run( name = "Create an SVG with the number of commits", command = """ - echo "${'$'}(cat number-of-commits.txt)" > badge.svg - """.trimIndent() + echo "${'$'}(cat number-of-commits.txt)" > badge.svg + """.trimIndent(), + ) + run( + name = "Preview badge", + command = "cat badge.svg", ) - run(command = "cat badge.svg") } } diff --git a/.github/workflows/check-upstream.yaml b/.github/workflows/check-upstream.yaml index 037abf925..9dbcbc581 100644 --- a/.github/workflows/check-upstream.yaml +++ b/.github/workflows/check-upstream.yaml @@ -34,6 +34,7 @@ jobs: git log --oneline $(cat ../upstream-commit.txt)..master | wc -l > ../number-of-commits.txt - id: 'step-2' name: 'Create an SVG with the number of commits' - run: 'echo "$(cat number-of-commits.txt)" > badge.svg' + run: 'echo "$(cat number-of-commits.txt)" > badge.svg' - id: 'step-3' + name: 'Preview badge' run: 'cat badge.svg'