diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 4bb5766..cf33626 100755 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -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: diff --git a/mk-release.sh b/mk-release.sh index 6d42e2c..9110440 100755 --- a/mk-release.sh +++ b/mk-release.sh @@ -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/