Skip to content

Commit

Permalink
Merge pull request #438 from maxrchung/Fix-publish-release-for-.NET-5
Browse files Browse the repository at this point in the history
Fix publish release for .net 5
  • Loading branch information
Naranja-Sagged authored Apr 14, 2021
2 parents ba62390 + fda128a commit a8c32d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
run: |
cd S2VX.Desktop
dotnet publish -p:PublishProfile=win-x64
zip -j S2VX.zip bin/Release/netcoreapp3.1/publish/S2VX.exe
zip -r S2VX.zip Stories
cd bin/publish
zip --recurse-paths S2VX.zip .
- name: Publish release to GitHub
id: release-drafter
Expand All @@ -32,7 +32,7 @@ jobs:
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.release-drafter.outputs.upload_url }}
asset_path: ./S2VX.Desktop/S2VX.zip
asset_path: ./S2VX.Desktop/bin/publish/S2VX.zip
asset_name: S2VX.zip
asset_content_type: application/zip
env:
Expand Down
6 changes: 3 additions & 3 deletions S2VX.Desktop/Properties/PublishProfiles/win-x64.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\netcoreapp3.1\publish\</PublishDir>
<PublishDir>bin\publish\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<SelfContained>true</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<PublishSingleFile>True</PublishSingleFile>
<PublishSingleFile>False</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
<PublishTrimmed>True</PublishTrimmed>
</PropertyGroup>
Expand Down

0 comments on commit a8c32d3

Please sign in to comment.