Skip to content

Commit 02373ad

Browse files
committed
fix: README download action
1 parent 192845e commit 02373ad

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/readme-downloads.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,11 @@ jobs:
2323
MACOS="https://github.com/debba/storytel-player/releases/download/$TAG/Storytel-Player-${TAG#v}.dmg"
2424
LINUX="https://github.com/debba/storytel-player/releases/download/$TAG/Storytel-Player-${TAG#v}.AppImage"
2525
26-
DOWNLOAD_SECTION="$(cat <<'EOM'
27-
[![Windows](https://img.shields.io/badge/Windows-Download-blue?logo=windows)](${WINDOWS}) \
28-
[![macOS](https://img.shields.io/badge/macOS-Download-black?logo=apple)](${MACOS}) \
29-
[![Linux](https://img.shields.io/badge/Linux-Download-green?logo=linux)](${LINUX})
30-
EOM
31-
)"
32-
``
33-
34-
# Replacd section between markers
26+
DOWNLOAD_SECTION="[![Windows](https://img.shields.io/badge/Windows-Download-blue?logo=windows)]($WINDOWS) \
27+
[![macOS](https://img.shields.io/badge/macOS-Download-black?logo=apple)]($MACOS) \
28+
[![Linux](https://img.shields.io/badge/Linux-Download-green?logo=linux)]($LINUX)"
29+
30+
# Replace section between markers
3531
awk -v replacement="$DOWNLOAD_SECTION" '
3632
BEGIN { in_section=0 }
3733
/<!-- DOWNLOAD_SECTION_START -->/ {

0 commit comments

Comments
 (0)