fix: Github Actions

This commit is contained in:
aayush262 2024-02-20 10:53:57 +05:30 committed by GitHub
parent eba774618e
commit 4f61f4cf2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,7 @@ jobs:
- name: Download last SHA artifact - name: Download last SHA artifact
uses: actions/download-artifact@v4.1.2 uses: dawidd6/action-download-artifact@v3
with: with:
workflow: beta.yml workflow: beta.yml
name: last-sha name: last-sha
@ -92,7 +92,7 @@ jobs:
shell: bash shell: bash
run: | run: |
#Discord #Discord
commit_messages=$(echo "$COMMIT_LOG" | sed 's/%0A/\n/g') commit_messages=$(echo "$COMMIT_LOG" | sed 's/%0A/\n/g; s/^/\n/')
# Truncate commit messages if they are too long # Truncate commit messages if they are too long
max_length=1900 # Adjust this value as needed max_length=1900 # Adjust this value as needed
if [ ${#commit_messages} -gt $max_length ]; then if [ ${#commit_messages} -gt $max_length ]; then