Skip to content

Commit

Permalink
fix ci (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
regevbr authored Jun 14, 2022
1 parent d2642e4 commit d5814df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,15 @@ jobs:
shell: bash
run: |
r=$(cat release_notes/v${{ env.RELEASE_VERSION }}.md)
r="${r//'%'/'%25'}" # Multiline escape sequences for %
r="${r//$'\n'/'%0A'}" # Multiline escape sequences for '\n'
r="${r//$'\r'/'%0D'}" # Multiline escape sequences for '\r'
echo "::set-output name=RELEASE_BODY::$r"
- name: Upload the release file
uses: svenstaro/upload-release-action@v2
with:
file: dist/*
file_glob: true
overwrite: true
body: ${{ steps.release.outputs.RELEASE_BODY }}
body: |
${{ steps.release.outputs.RELEASE_BODY }}
2 changes: 2 additions & 0 deletions .github/workflows/hacs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Hacs validation

on:
push:
branches: ['*']
pull_request:
branches: ['*']
schedule:
- cron: '0 0 * * *'

Expand Down

0 comments on commit d5814df

Please sign in to comment.