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 8dcbe14 commit 34bd9c0
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,12 @@ jobs:
args: musl-strip target/x86_64-unknown-linux-musl/release/fblog
- run: cp ./target/x86_64-unknown-linux-musl/release/fblog fblog
- run: sha512sum fblog > fblog.sha512sum
- id: github_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release fblog ${{ github.ref }}
body: "No changelog!"
draft: false
prerelease: false
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- id: create_release
uses: softprops/action-gh-release@v1
with:
upload_url: ${{ steps.github_release.outputs.upload_url }}
asset_path: ./fblog
asset_name: fblog
asset_content_type: application/octet-stream
- uses: actions/upload-release-asset@v1
files: |
fblog
fblog.sha512sum
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.github_release.outputs.upload_url }}
asset_path: ./fblog.sha512sum
asset_name: fblog.sha512sum
asset_content_type: text/plain

0 comments on commit 34bd9c0

Please sign in to comment.