Skip to content

Commit 8bcfc29

Browse files
authored
Update go.yml
Signed-off-by: trodsre <[email protected]>
1 parent d99c086 commit 8bcfc29

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/go.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,16 @@ jobs:
4646
release_name: Release run-${{ github.run_id }}
4747
draft: false
4848
prerelease: false
49+
50+
- name: Upload Release Asset
51+
id: upload-release-asset
52+
uses: actions/upload-release-asset@v1
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
with:
56+
upload_url: ${{ steps.create_release.outputs.upload_url }}
57+
asset_path: ./postgres_exporter
58+
# Vous devez également spécifier le type de contenu (Content-Type) de l'asset.
59+
# Pour un binaire, vous pouvez généralement utiliser application/octet-stream.
60+
asset_content_type: application/octet-stream
61+
asset_name: postgres_exporter

0 commit comments

Comments
 (0)