Skip to content

Commit

Permalink
attache deb to release
Browse files Browse the repository at this point in the history
  • Loading branch information
eltorio committed Mar 17, 2024
1 parent 4c04ff9 commit 15aeb34
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build-haproxy-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,8 @@ jobs:
with:
name: haproxy-deb-${{ matrix.platform }}

- name: Publish .deb file
uses: actions/upload-release-asset@v1
- name: Upload Release Asset
run: |
gh release upload ${{ github.ref }} ./haproxy-deb-${{ matrix.platform }}.deb --repo ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: https://api.github.com/repos/${{ github.repository }}/releases/${{ steps.get_release.outputs.result }}
asset_path: ./haproxy-deb-${{ matrix.platform }}.deb
asset_name: haproxy-deb-${{ matrix.platform }}.deb
asset_content_type: application/octet-stream
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 15aeb34

Please sign in to comment.