Skip to content

Commit

Permalink
fix: fix JSON parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Svyatoslav Shchipunov committed Oct 2, 2024
1 parent 96b8ddd commit 8c46793
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/run-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 8c46793

Please sign in to comment.