From 34bd9c0c6d723aaf1c629adb96363ec88883a1d8 Mon Sep 17 00:00:00 2001 From: Patrick Haun Date: Fri, 1 Dec 2023 09:46:05 +0100 Subject: [PATCH] new release plugin --- .github/workflows/release.yml | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32ee19d..4044917 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 +