fix: fix JSON parsing

This commit is contained in:
Svyatoslav Shchipunov
2024-10-02 10:29:11 +07:00
parent 96b8dddbd1
commit 8c467935c4

View File

@@ -34,16 +34,18 @@ jobs:
- name: Create release in your repo
if: steps.check_release.outputs.release_exists == 'false'
run: |
ART="
_______ ________ __
ART=$(cat <<EOF
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| A M N E Z I A W I R E G U A R D
-----------------------------------------------------
OpenWrt ${{ steps.get_release.outputs.release_tag }}
-----------------------------------------------------"
|__| A M N E Z I A W I R E G U A R D
-----------------------------------------------------
OpenWrt ${{ steps.get_release.outputs.release_tag }}
-----------------------------------------------------
EOF
)
curl -X POST https://api.github.com/repos/Slava-Shchipunov/awg-openwrt/releases \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/json" \