fix: Github Actions
This commit is contained in:
parent
eba774618e
commit
4f61f4cf2c
1 changed files with 3 additions and 3 deletions
4
.github/workflows/beta.yml
vendored
4
.github/workflows/beta.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
|||
|
||||
|
||||
- name: Download last SHA artifact
|
||||
uses: actions/download-artifact@v4.1.2
|
||||
uses: dawidd6/action-download-artifact@v3
|
||||
with:
|
||||
workflow: beta.yml
|
||||
name: last-sha
|
||||
|
@ -92,7 +92,7 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
#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
|
||||
max_length=1900 # Adjust this value as needed
|
||||
if [ ${#commit_messages} -gt $max_length ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue