File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 Build :
1414 # To build `net45` target, we need to run the build on Windows.
15- runs-on : windows -latest
15+ runs-on : ubuntu -latest
1616 env :
1717 DOTNET_NOLOGO : true
1818 steps :
@@ -26,11 +26,11 @@ jobs:
2626 - run : dotnet build -c Release
2727
2828 # Run Unit tests
29- # - run: dotnet test -c Release --no-build --logger trx --results-directory $GITHUB_WORKSPACE /artifacts
29+ # - run: dotnet test -c Release --no-build --logger trx --results-directory . /artifacts
3030
3131 # Packaging
3232 - name : dotnet pack Kurukuru
33- run : dotnet pack -c Release --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output $env:GITHUB_WORKSPACE /artifacts ./Kurukuru/Kurukuru.csproj
33+ run : dotnet pack -c Release --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output . /artifacts ./Kurukuru/Kurukuru.csproj
3434
3535 # Upload & Publish
3636 - uses : actions/upload-artifact@master
Original file line number Diff line number Diff line change 1010 if : " contains(github.ref, 'refs/tags')"
1111
1212 # To build `net45` target, we need to run the build on Windows.
13- runs-on : windows -latest
13+ runs-on : ubuntu -latest
1414 env :
1515 DOTNET_NOLOGO : true
1616
3434 run : |
3535 dotnet restore
3636 dotnet build -c Release
37- dotnet pack -c Release -o $env:GITHUB_WORKSPACE /artifacts -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
37+ dotnet pack -c Release -o . /artifacts -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
3838
3939 - uses : actions/upload-artifact@master
4040 with :
4343
4444 - name : " Push to NuGet.org"
4545 run : |
46- dotnet nuget push "$env:GITHUB_WORKSPACE\ artifacts\ *.nupkg" --skip-duplicate -k ${{ steps.op-load-secret.outputs.NUGET_AUTH_TOKEN }} -s https://api.nuget.org/v3/index.json
46+ dotnet nuget push ./ artifacts/ *.nupkg --skip-duplicate -k ${{ steps.op-load-secret.outputs.NUGET_AUTH_TOKEN }} -s https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
33 <PropertyGroup >
4- <VersionPrefix >1.4.2 </VersionPrefix >
4+ <VersionPrefix >1.5.0 </VersionPrefix >
55 <LangVersion >latest</LangVersion >
66
77 <Authors >Mayuki Sawatari</Authors >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >netstandard2.0;net45 </TargetFrameworks >
3+ <TargetFrameworks >netstandard2.0;net8.0 </TargetFrameworks >
44 <Nullable >enable</Nullable >
55 </PropertyGroup >
66</Project >
You can’t perform that action at this time.
0 commit comments