diff --git a/.github/workflows/samples-dotnet-standard.yaml b/.github/workflows/samples-dotnet-standard.yaml index 0635cbd7b01..04e711ca754 100644 --- a/.github/workflows/samples-dotnet-standard.yaml +++ b/.github/workflows/samples-dotnet-standard.yaml @@ -19,7 +19,7 @@ jobs: - samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0 steps: - uses: actions/checkout@v3 - - uses: actions/setup-dotnet@v3.0.3 + - uses: actions/setup-dotnet@v3.1.0 with: dotnet-version: 3.1.* - name: Build diff --git a/.github/workflows/samples-dotnet.yaml b/.github/workflows/samples-dotnet.yaml index d9b67c77fc2..ec42af352cb 100644 --- a/.github/workflows/samples-dotnet.yaml +++ b/.github/workflows/samples-dotnet.yaml @@ -41,7 +41,7 @@ jobs: - samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes steps: - uses: actions/checkout@v3 - - uses: actions/setup-dotnet@v3.0.3 + - uses: actions/setup-dotnet@v3.1.0 with: dotnet-version: '7.0.x' - name: Build diff --git a/.github/workflows/samples-dotnet6-client.yaml b/.github/workflows/samples-dotnet6-client.yaml index 1d79b6c13f1..480808056c5 100644 --- a/.github/workflows/samples-dotnet6-client.yaml +++ b/.github/workflows/samples-dotnet6-client.yaml @@ -67,7 +67,7 @@ jobs: - samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/ steps: - uses: actions/checkout@v3 - - uses: actions/setup-dotnet@v3.0.3 + - uses: actions/setup-dotnet@v3.1.0 with: dotnet-version: '6.0.x' - name: Build diff --git a/.github/workflows/samples-dotnet6-server.yaml b/.github/workflows/samples-dotnet6-server.yaml index bd12589a808..ed910b6110c 100644 --- a/.github/workflows/samples-dotnet6-server.yaml +++ b/.github/workflows/samples-dotnet6-server.yaml @@ -31,7 +31,7 @@ jobs: - samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes steps: - uses: actions/checkout@v3 - - uses: actions/setup-dotnet@v3.0.3 + - uses: actions/setup-dotnet@v3.1.0 with: dotnet-version: '6.0.x' - name: Build