Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
opatry committed Oct 3, 2024
1 parent 2bd3a10 commit d15eb11
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ jobs:
stale_credits=$(git diff tasks-app-desktop/src/main/resources/licenses_desktop.json)
if [ -n "${stale_credits}" ]; then
{
echo "## Stale credits for `:tasks-app-desktop`"
echo "```diff"
echo "## Stale credits for \`:tasks-app-desktop\`"
echo "\`\`\`diff"
echo "${stale_credits}"
echo "```"
echo "\`\`\`"
} >> "${GITHUB_STEP_SUMMARY}"
echo "::warning file=tasks-app-desktop/src/main/resources/licenses_desktop.json,title=Stale credits::Some licenses information are not up to date for ':tasks-app-desktop'"
# ::set-output is deprecated, but nothing works with multiline strings and GITHUB_OUTPUT :(
# see https://lab.amalitsky.com/posts/2022/github-actions-set-output-migration/
echo ::set-output name=credits_diff_comment::$(./_ci/generate_github_comment_stale_credits.sh ":tasks-app-desktop")
fi
Expand All @@ -82,13 +83,14 @@ jobs:
stale_credits=$(git diff tasks-app-android/src/main/assets/licenses_android.json)
if [ -n "${stale_credits}" ]; then
{
echo "## Stale credits for `:tasks-app-android`"
echo "```diff"
echo "## Stale credits for \`:tasks-app-android\`"
echo "\`\`\`diff"
echo "${stale_credits}"
echo "```"
echo "\`\`\`"
} >> "${GITHUB_STEP_SUMMARY}"
echo "::warning file=tasks-app-android/src/main/assets/licenses_android.json,title=Stale credits::Some licenses information are not up to date for ':tasks-app-android'"
# ::set-output is deprecated, but nothing works with multiline strings and GITHUB_OUTPUT :(
# see https://lab.amalitsky.com/posts/2022/github-actions-set-output-migration/
echo ::set-output name=credits_diff_comment::$(./_ci/generate_github_comment_stale_credits.sh ":tasks-app-android")
fi
Expand Down

0 comments on commit d15eb11

Please sign in to comment.