We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4da8c76 commit 70ec786Copy full SHA for 70ec786
.github/workflows/release-mastodon.yaml
@@ -20,7 +20,9 @@ jobs:
20
- name: Trim Body
21
shell: bash
22
run: |
23
- echo "BODY=$(echo "${{ github.event.release.body }}" | cut -c1-350 )" >> $GITHUB_ENV
+ body="${{ github.event.release.body }}"
24
+ result="${body:0:350}"
25
+ echo "BODY=$(echo "${result}")" >> $GITHUB_ENV
26
- name: Send toot to Mastodon
27
continue-on-error: true
28
id: mastodon
0 commit comments