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 1b01b7f commit 7a96cb4Copy full SHA for 7a96cb4
.github/workflows/publishartifact.yml
@@ -30,4 +30,14 @@ jobs:
30
chmod +x ./${{inputs.binary-name}}
31
echo "Uploading ${{inputs.binary-name}} to Nexus: $targetUrl"
32
while (Test-Path Alias:curl) {Remove-Item Alias:curl} #remove the alias binding from curl to Invoke-WebRequest
33
- curl "-u${{secrets.NEXUSAUTHENTICATION}}" -T ./${{inputs.binary-name}} $targetUrl
+ curl "-u${{secrets.NEXUSAUTHENTICATION}}" -T ./${{inputs.binary-name}} $targetUrl
34
+
35
+ - name: Upload binaries to release
36
+ uses: svenstaro/upload-release-action@2.9.0
37
+ with:
38
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
39
+ file: ./${{inputs.binary-name}}
40
+ asset_name: ${{inputs.binary-name}}
41
+ tag: ${{ github.ref }}
42
+ overwrite: true
43
0 commit comments