Skip to content

Commit

Permalink
test: emoji!
Browse files Browse the repository at this point in the history
  • Loading branch information
xMikux committed Sep 29, 2024
1 parent 14b47ba commit 01735ad
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_versionts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
steps:
- name: Output Changelog
run: |
echo ${{ needs.test-changelog.changelog }}
echo ${{ needs.test-changelog.outputs.changelog }}
26 changes: 25 additions & 1 deletion .github/workflows/resuable_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: Generate Changelog
runs-on: ubuntu-latest
outputs:
changelog: ${{ steps.changelog.outputs.changes }}
changelog: ${{ steps.changelog_emoji.outputs.changelog }}
steps:
# -
# name: GitHub - Create Draft Release
Expand All @@ -41,3 +41,27 @@ jobs:
# tag: ${{ inputs.next_version }}
fromTag: ${{ inputs.next_version }}
toTag: ${{ inputs.this_version }}
-
name: Emoji - Fix emoji code
id: changelog_emoji
run: |
cat <<EOF > changelog.md
${{ steps.changelog.outputs.changes }}
EOF
sed -i "s/:sparkles:/✨/" changelog.md
sed -i "s/:bug:/🐛/" changelog.md
sed -i "s/:zap:/⚡/" changelog.md
sed -i "s/:recycle:/♻️/" changelog.md
sed -i "s/:white_check_mark:/✅/" changelog.md
sed -i "s/:construction_worker:/👷/" changelog.md
sed -i "s/:memo:/📝/" changelog.md
sed -i "s/:art:/🎨/" changelog.md
sed -i "s/:wrench:/🔧/" changelog.md
sed -i "s/:flying_saucer:/🛸/" changelog.md
{
echo 'changelog<<EOF'
cat changelog.md
echo EOF
} >> "$GITHUB_OUTPUT"

0 comments on commit 01735ad

Please sign in to comment.