Skip to content

Commit

Permalink
Select net5.0 for framework when publising
Browse files Browse the repository at this point in the history
Otherwise error will happen
  • Loading branch information
mcraiha committed Oct 31, 2021
1 parent 2c7de51 commit c08ab15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-win-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Build a release
run: dotnet publish -c Release -r win-x64 -p:PublishSingleFile=true --self-contained true -o publish
run: dotnet publish -c Release -f net5.0 -r win-x64 -p:PublishSingleFile=true --self-contained true -o publish
- name: Rename and move binary
run: mv publish/Dithery-cli.exe dithery.exe
- name: Install zip
Expand Down

0 comments on commit c08ab15

Please sign in to comment.