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 ab9d7d9 commit 6e8dd06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Build project # This would actually build your project, using zip for an example artifact
# run: |
run: |
echo "abc" > abc.txt
# cargo build --release
- name: Create Release
id: create_release
Expand All @@ -34,6 +35,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: ./Cargo.toml
asset_path: ./abc.txt
asset_name: chubaodb-linux
asset_content_type: application/zip

0 comments on commit 6e8dd06

Please sign in to comment.