Skip to content

Commit

Permalink
build with net 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gosha20777 committed Aug 3, 2021
1 parent 3155a86 commit 9d57211
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
dotnet_version: ['2.2.108']
dotnet_version: ['5.0.x']
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
Expand Down
6 changes: 3 additions & 3 deletions mk-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ rm -rf ./bin/app/ && rm -rf ./src/bin/Release/
echo "restoring packeges"
dotnet restore
echo -n "building for linux"
dotnet publish --framework netcoreapp3.1 --runtime="linux-x64" -c Release -o ./bin/app/linux
dotnet publish --framework net5.0 --runtime="linux-x64" -c Release -o ./bin/app/linux
echo -n "building for win10"
dotnet publish --framework netcoreapp3.1 --runtime="win10-x64" -c Release -o ./bin/app/win10
dotnet publish --framework net5.0 --runtime="win10-x64" -c Release -o ./bin/app/win10
echo -n "building for osx"
dotnet publish --framework netcoreapp3.1 --runtime="osx-x64" -c Release -o ./bin/app/osx
dotnet publish --framework net5.9 --runtime="osx-x64" -c Release -o ./bin/app/osx
cd ./bin/app/
zip -r -9 ./linux.zip ./linux/
zip -r -9 ./win10.zip ./win10/
Expand Down

0 comments on commit 9d57211

Please sign in to comment.