File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ run: dotnet restore AiDotNet.sln
3131 dotnet tool update -g dotnet-format || dotnet tool install -g dotnet-format
3232 export PATH="$PATH:$HOME/.dotnet/tools"
3333 dotnet format AiDotNet.sln --verify-no-changes || (echo "Run 'dotnet format' locally to fix style issues." && exit 1)
34- build :
34+ build :
3535 name : Build
3636 strategy :
3737 matrix :
@@ -179,3 +179,4 @@ run: dotnet restore AiDotNet.sln
179179 retention-days : 7
180180
181181
182+
Original file line number Diff line number Diff line change 4949 run : |
5050 if [ -f "src/AiDotNet.csproj" ]; then
5151 dotnet pack src/AiDotNet.csproj -c Release -o out /p:PackageVersion=${{ steps.version.outputs.version }}
52- - name : Verify TFMs in package (net46, net6.0, net8.0)
52+ fi\n\n - name: Verify TFMs in package (net46, net6.0, net8.0)
5353 run : |
5454 set -e
5555 shopt -s nullglob
7979 name : Publish to NuGet
8080 runs-on : ubuntu-latest
8181 needs : build-test-pack
82- if : ${{ secrets.NUGET_API_KEY != '' }}
82+ if : secrets.NUGET_API_KEY != ''
8383 steps :
8484 - name : Download package
8585 uses : actions/download-artifact@v4
@@ -110,3 +110,4 @@ jobs:
110110 env :
111111 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
112112
113+
You can’t perform that action at this time.
0 commit comments