Skip to content

Commit

Permalink
Udpated .yml
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnil110399 committed Jul 8, 2024
1 parent 2d61e0d commit 30bf273
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/build-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Debug: List files in repository
run: ls -R

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y dpkg-dev

Expand Down Expand Up @@ -39,19 +42,4 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Upload DEB package to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./nagios-plugins-ets-1.4.deb
asset_name: nagios-plugins-ets-1.4.deb
asset_content_type: application/vnd.debian.binary-package
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 30bf273

Please sign in to comment.