Skip to content

Commit

Permalink
fix: PowerShell multi-line command
Browse files Browse the repository at this point in the history
  • Loading branch information
manusa committed Dec 29, 2019
1 parent 77c80a9 commit d9f5eb9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ jobs:
run: |
set VERSION=$(echo $GITHUB_REF | sed 's/refs\/tags\///')
set RELEASE_ID=$(curl https://api.github.com/repos/manusa/electronim/releases/tags/$VERSION | jq -r ".id")
curl \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/zip" \
--data-binary "@dist/electronim-win32-ia32.tar.gz" \
curl `
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" `
-H "Content-Type: application/zip" `
--data-binary "@dist/electronim-win32-ia32.zip" `
"https://uploads.github.com/repos/manusa/electronim/releases/$RELEASE_ID/assets?name=electronim-win32-ia32.zip"

0 comments on commit d9f5eb9

Please sign in to comment.