Skip to content

Commit

Permalink
Fix file location
Browse files Browse the repository at this point in the history
  • Loading branch information
krzema12 committed Oct 28, 2024
1 parent 14d8722 commit 020cb61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-upstream.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ workflow(
command = """
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
git log --oneline $(cat ../upstream-commit.txt)..master | wc -l > ../number-of-commits.txt
""".trimIndent()
)
run(
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-upstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |-
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
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 "<svg viewBox=\"0 0 240 80\" xmlns=\"http://www.w3.org/2000/svg\"><text x=\"20\" y=\"35\">$(cat number-of-commits.txt)</text></svg>" > badge.svg'
Expand Down

0 comments on commit 020cb61

Please sign in to comment.