diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 7be939e..b106b8e 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -15,7 +15,7 @@ on: - develop env: - DOTNET_VERSION: '8.0.x' + DOTNET_VERSION: '9.0.x' jobs: format: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2723bb2..bcc5980 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ on: env: BRANCH_NAME: ${{ github.event.release.target_commitish }} SOLUTION_NAME: ${{ vars.SOLUTION_NAME }} - DOTNET_VERSION: '8.0.x' + DOTNET_VERSION: '9.0.x' NUGET_SOURCE: 'https://api.nuget.org/v3/index.json' BUILD_CONFIGURATION: '' VERSION_SUFFIX: '' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 91f356f..23289f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ on: env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} SOLUTION_NAME: ${{ vars.SOLUTION_NAME }} - DOTNET_VERSION: '8.0.x' + DOTNET_VERSION: '9.0.x' jobs: test: diff --git a/.github/workflows/unlist-nuget.yml b/.github/workflows/unlist-nuget.yml new file mode 100644 index 0000000..58c5254 --- /dev/null +++ b/.github/workflows/unlist-nuget.yml @@ -0,0 +1,26 @@ +name: Unlist NuGet + +on: + workflow_dispatch: + # release: + # types: [deleted] + +env: + BRANCH_NAME: ${{ github.event.release.target_commitish }} + PROJECT_NAME: ${{ vars.PROJECT_NAME }} + +jobs: + publish: + name: unlist on nuget + runs-on: windows-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + # Unlist + - name: Unlist Deleted Tag + uses: darenm/unlist-nuget@v1 + with: + NUGET_PACKAGE: ${{ env.PROJECT_NAME }} # Full Package ID + VERSION_REGEX: ${{ github.event.release.tag_name }} # Regex pattern to match version + NUGET_KEY: ${{ secrets.NUGET_API_KEY }} # nuget.org API key \ No newline at end of file diff --git a/Hyperbee.Json.sln b/Hyperbee.Json.sln index 33cf11c..11524ab 100644 --- a/Hyperbee.Json.sln +++ b/Hyperbee.Json.sln @@ -28,6 +28,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{ .github\workflows\publish.yml = .github\workflows\publish.yml .github\workflows\test-report.yml = .github\workflows\test-report.yml .github\workflows\test.yml = .github\workflows\test.yml + .github\workflows\unlist-nuget.yml = .github\workflows\unlist-nuget.yml .github\workflows\update-version.yml = .github\workflows\update-version.yml EndProjectSection EndProject diff --git a/docs/_includes/nav_footer_custom.html b/docs/_includes/nav_footer_custom.html index 7bb117a..0fe6da6 100644 --- a/docs/_includes/nav_footer_custom.html +++ b/docs/_includes/nav_footer_custom.html @@ -1,3 +1,3 @@  \ No newline at end of file +#* \ No newline at end of file diff --git a/src/Hyperbee.Json/Hyperbee.Json.csproj b/src/Hyperbee.Json/Hyperbee.Json.csproj index 8cc0c0d..44b2f39 100644 --- a/src/Hyperbee.Json/Hyperbee.Json.csproj +++ b/src/Hyperbee.Json/Hyperbee.Json.csproj @@ -1,6 +1,6 @@  - net8.0 + net9.0 enable true @@ -9,7 +9,7 @@ json-path;jsonpath;json-pointer;jsonpointer;json-patch;jsonpatch;query;path;patch;diff;json;rfc9535;rfc6901;rfc6902 icon.png https://stillpoint-software.github.io/hyperbee.json/ - net8.0 + net9.0 LICENSE Stillpoint Software, Inc. Hyperbee Json diff --git a/test/Hyperbee.Json.Benchmark/Hyperbee.Json.Benchmark.csproj b/test/Hyperbee.Json.Benchmark/Hyperbee.Json.Benchmark.csproj index 080e474..df660b2 100644 --- a/test/Hyperbee.Json.Benchmark/Hyperbee.Json.Benchmark.csproj +++ b/test/Hyperbee.Json.Benchmark/Hyperbee.Json.Benchmark.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net9.0 enable false @@ -14,11 +14,11 @@ - + - - + + diff --git a/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj b/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj index 22a1d33..0e59954 100644 --- a/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj +++ b/test/Hyperbee.Json.Cts/Hyperbee.Json.Cts.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable enable @@ -14,9 +14,9 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + diff --git a/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj b/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj index 9006358..7dd8868 100644 --- a/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj +++ b/test/Hyperbee.Json.Tests/Hyperbee.Json.Tests.csproj @@ -1,6 +1,6 @@  - net8.0 + net9.0 false Hyperbee.Json.Tests @@ -8,11 +8,11 @@ - - - - - + + + + +