Skip to content

Commit

Permalink
new release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
bomgar committed Dec 1, 2023
1 parent af97d53 commit db4144a
Showing 1 changed file with 7 additions and 30 deletions.
37 changes: 7 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,37 +22,14 @@ jobs:
- run: sha512sum fw > fw.sha512sum
- run: cargo run >> fw.1
working-directory: ./man
- id: github_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
release_name: Release fw ${{ github.ref }}
body: "No changelog!"
draft: false
prerelease: false
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.github_release.outputs.upload_url }}
asset_path: ./fw
asset_name: fw
asset_content_type: application/octet-stream
- uses: actions/upload-release-asset@v1
files: |
fw
man/fw.1
fw.sha512sum
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.github_release.outputs.upload_url }}
asset_path: ./man/fw.1
asset_name: fw.1
asset_content_type: text/plain
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.github_release.outputs.upload_url }}
asset_path: ./fw.sha512sum
asset_name: fw.sha512sum
asset_content_type: text/plain

0 comments on commit db4144a

Please sign in to comment.