diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 8865d38..61fa785 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -2,34 +2,35 @@ name: Build and Test on: push: - branches: [ "main" ] + branches: ['main'] paths-ignore: - - '*.md' + - '*.md' pull_request: - branches: [ "main" ] + branches: ['main'] paths-ignore: - - '*.md' + - '*.md' jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v3 - with: - dotnet-version: | - 7.0.x - 6.0.x - - name: Display dotnet version - run: dotnet --version - - name: Restore dependencies - working-directory: ./src - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - working-directory: ./src - - name: Test - run: dotnet test --no-build --configuration Release --verbosity normal - working-directory: ./src + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 9.0.x + 8.0.x + 7.0.x + 6.0.x + - name: Display dotnet version + run: dotnet --version + - name: Restore dependencies + working-directory: ./src + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore + working-directory: ./src + - name: Test + run: dotnet test --no-build --configuration Release --verbosity normal + working-directory: ./src diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 3396559..5aba570 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -4,33 +4,34 @@ on: workflow_dispatch: inputs: name: - description: "When you press run workflow, the nuget package will be published." - default: "I understand." + description: 'When you press run workflow, the nuget package will be published.' + default: 'I understand.' jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v3 - with: - dotnet-version: | - 7.0.x - 6.0.x - - name: Display dotnet version - run: dotnet --version - - name: Restore dependencies - working-directory: ./src - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - working-directory: ./src - - name: Test - run: dotnet test --no-build --configuration Release --verbosity normal - working-directory: ./src - - name: Publish the package to nuget.org - run: dotnet nuget push Topaz/bin/Release/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json - env: - NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }} - working-directory: ./src + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 9.0.x + 8.0.x + 7.0.x + 6.0.x + - name: Display dotnet version + run: dotnet --version + - name: Restore dependencies + working-directory: ./src + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore + working-directory: ./src + - name: Test + run: dotnet test --no-build --configuration Release --verbosity normal + working-directory: ./src + - name: Publish the package to nuget.org + run: dotnet nuget push Topaz/bin/Release/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json + env: + NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }} + working-directory: ./src diff --git a/src/Topaz.Benchmark/Topaz.Benchmark.csproj b/src/Topaz.Benchmark/Topaz.Benchmark.csproj index 2cb29b4..6f118c3 100644 --- a/src/Topaz.Benchmark/Topaz.Benchmark.csproj +++ b/src/Topaz.Benchmark/Topaz.Benchmark.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net9.0 Tenray.Topaz False False diff --git a/src/Topaz.Test/Topaz.Test.csproj b/src/Topaz.Test/Topaz.Test.csproj index 66d545a..b4d5684 100644 --- a/src/Topaz.Test/Topaz.Test.csproj +++ b/src/Topaz.Test/Topaz.Test.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 false Tenray.Topaz @@ -13,7 +13,7 @@ - + diff --git a/src/Topaz/Directory.Build.props b/src/Topaz/Directory.Build.props index 15d7a06..3e9a4bf 100644 --- a/src/Topaz/Directory.Build.props +++ b/src/Topaz/Directory.Build.props @@ -5,8 +5,8 @@ Ahmed Yasin Koculu Topaz Topaz - 1.4.0.0 - 1.4.0.0 + 1.4.1.0 + 1.4.1.0 Ahmed Yasin Koculu Topaz Multithreaded Javascript Engine for .NET diff --git a/src/Topaz/Topaz.csproj b/src/Topaz/Topaz.csproj index 6133c16..219b9b7 100644 --- a/src/Topaz/Topaz.csproj +++ b/src/Topaz/Topaz.csproj @@ -4,7 +4,7 @@ true true en-US - net8.0;net7.0;net6.0 + net9.0;net8.0;net7.0;net6.0 https://github.com/koculu/topaz true README.md @@ -43,7 +43,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive