if: matrix.os == 'windows-2019'
with:
name: windows
- path: ./cmd/bytomd/bytomd.exe
+ path: ./cmd/bytomd/bytomd
release:
name: Release
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