OSDN Git Service

fix release (#2127)
authoryzb <335357057@qq.com>
Sun, 9 Oct 2022 06:52:18 +0000 (14:52 +0800)
committerGitHub <noreply@github.com>
Sun, 9 Oct 2022 06:52:18 +0000 (14:52 +0800)
Co-authored-by: yzb@example.cn <yzb@example.cn>
.github/workflows/release.yml

index 3859c74..7b484c1 100644 (file)
@@ -68,7 +68,7 @@ jobs:
         if: matrix.os == 'windows-2019'
         with:
           name: windows
-          path: ./cmd/bytomd/bytomd.exe
+          path: ./cmd/bytomd/bytomd
 
   release:
     name: Release
@@ -156,6 +156,6 @@ jobs:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         with:
           upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
-          asset_path: ./windows/bytomd.exe
+          asset_path: ./windows/bytomd
           asset_name: bytomd_windows.exe
           asset_content_type: application/octet-stream