Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zxc7895531 authored Feb 18, 2021
1 parent 7d2fbd1 commit 89067c8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Zip
run: zip bin
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -42,6 +40,5 @@ jobs:
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: ./bin.zip
asset_name: exe.zip
asset_content_type: application/zip
asset_path: D:\a\Mhyprot2DrvControl\Mhyprot2DrvControl\bin\Debug\MhyProt2Drv.exe
asset_name: MhyProt2Drv.exe

0 comments on commit 89067c8

Please sign in to comment.