Skip to content

Commit

Permalink
Binary path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
esamattis committed Dec 19, 2019
1 parent a79a5fc commit 6f95f70
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:

name: Make Release

env:
binary_path: target/x86_64-unknown-linux-musl/release/multip

jobs:
build_and_test:
name: Rust project
Expand All @@ -26,7 +29,7 @@ jobs:
args: --release --target x86_64-unknown-linux-musl

- name: Optimize binary size
run: strip target/release/multip
run: strip ${{ env.binary_path }}

- name: Create Gitub Release
id: create_release
Expand All @@ -50,6 +53,6 @@ jobs:
# 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
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./target/release/multip
asset_path: ${{ env.binary_path }}
asset_name: multip-amd64
asset_content_type: application/octet-stream

0 comments on commit 6f95f70

Please sign in to comment.