Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ansjsun authored Jul 20, 2020
1 parent 6e8dd06 commit e952bd0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
uses: actions/checkout@v2
- name: Build project # This would actually build your project, using zip for an example artifact
run: |
echo "abc" > abc.txt
# cargo build --release
cargo build --release
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -35,6 +34,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.MY_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: ./abc.txt
asset_path: ./target/release/chubaodb
asset_name: chubaodb-linux
asset_content_type: application/zip

0 comments on commit e952bd0

Please sign in to comment.