We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19a27b7 commit 17eea95Copy full SHA for 17eea95
1 file changed
.github/workflows/release-cli.yaml
@@ -122,7 +122,10 @@ jobs:
122
cd ./target/release && Compress-Archive -Path ./dbdev.exe -Destination dbdev.zip
123
124
- name: Get Upload Url
125
- run: echo UPLOAD_URL=$(curl --silent https://api.github.com/repos/${{ github.repository }}/releases/latest | jq .upload_url --raw-output) >> $GITHUB_ENV
+ run: |
126
+ $Json = Invoke-WebRequest -Uri https://api.github.com/repos/${{ github.repository }}/releases/latest | ConvertFrom-Json
127
+ $UploadUrl = $Json.upload_url
128
+ echo "UPLOAD_URL=$UploadUrl" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
129
130
- name: Upload Release Asset
131
uses: actions/upload-release-asset@v1
0 commit comments