diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 14f47738..c43c32df 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -1,4 +1,4 @@ -name: .NET Core +name: .NET Core - Build and Test on: [push, pull_request] @@ -8,8 +8,8 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-dotnet@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v4 with: dotnet-version: '9.x' include-prerelease: true @@ -23,11 +23,11 @@ jobs: dotnet build Demos --configuration Release --no-restore - name: Test run: dotnet test DemoTests -c Release --verbosity normal - - name: Publish - if: github.event_name != 'pull_request' - run: | - dotnet nuget add source "https://nuget.pkg.github.com/bepu/index.json" --name "github" --username "rossnordby" --password "${{secrets.GITHUB_TOKEN}}" - dotnet pack "BepuPhysics" -c Release - dotnet pack "BepuUtilities" -c Release - dotnet nuget push "**/*.nupkg" -s "github" -k "${{secrets.GITHUB_TOKEN}}" --skip-duplicate - dotnet nuget push "**/*.nupkg" -s "https://api.nuget.org/v3/index.json" -k "${{secrets.NUGET_KEY}}" --skip-duplicate \ No newline at end of file +# - name: Publish +# if: github.event_name != 'pull_request' +# run: | +# dotnet nuget add source "https://nuget.pkg.github.com/bepu/index.json" --name "github" --username "rossnordby" --password "${{secrets.GITHUB_TOKEN}}" +# dotnet pack "BepuPhysics" -c Release +# dotnet pack "BepuUtilities" -c Release +# dotnet nuget push "**/*.nupkg" -s "github" -k "${{secrets.GITHUB_TOKEN}}" --skip-duplicate +# dotnet nuget push "**/*.nupkg" -s "https://api.nuget.org/v3/index.json" -k "${{secrets.NUGET_KEY}}" --skip-duplicate \ No newline at end of file