Skip to content

Commit

Permalink
Re-format github action json
Browse files Browse the repository at this point in the history
  • Loading branch information
bkolobara committed Sep 16, 2021
1 parent 900be73 commit 846d292
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
run: |
export VERSION=$(echo ${{ steps.getReleaseName.outputs.RELEASE_NAME }} | sed -E 's/.*v([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)/\1/')
curl -u ":${{ secrets.HOMEBREW }}" \
-X POST \
curl -X POST \
-H 'Authorization: token ${{ secrets.HOMEBREW }}' \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/lunatic-solutions/homebrew-lunatic/actions/workflows/ci.yml/dispatches \
-d '{"ref": "main", \
"inputs": { \
"version": "'$VERSION'", \
-d '{"ref": "main",
"inputs": { "version": "'$VERSION'" }
}'

0 comments on commit 846d292

Please sign in to comment.