Skip to content

Commit

Permalink
updated .yml
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnil110399 committed Jul 8, 2024
1 parent af668e4 commit 7425c97
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

- name: Create Release
id: create_release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -63,11 +63,11 @@ jobs:
prerelease: false

- name: Upload DEB package to Release
uses: actions/upload-release-asset@v1
id: upload_deb
uses: softprops/action-gh-release@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
files: ./nagios-plugins-ets-1.4.deb
content_type: application/vnd.debian.binary-package
release_id: ${{ steps.create_release.outputs.id }}

0 comments on commit 7425c97

Please sign in to comment.