From e952bd0c9b58e6056a725e9f839cb59aeda7ca22 Mon Sep 17 00:00:00 2001 From: ansj Date: Mon, 20 Jul 2020 17:27:23 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b858128..be79481 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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