diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 001e62d..8236ef6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,11 +20,11 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 # https://stackoverflow.com/questions/57889719/how-to-push-nuget-package-in-github-actions - - name: "Setup .NET Core @ Latest" - uses: actions/setup-dotnet@v1 + - name: Setup .NET + uses: actions/setup-dotnet@v3 with: - dotnet-version: '3.1.101' #https://github.com/NuGet/Home/issues/3406 Went to a patch version that seems to work - source-url: https://nuget.pkg.github.com/qsharp-community/index.json + dotnet-version: '8.0.x' + source-url: https://nuget.pkg.github.com/qsharp-community/index.json env: NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index edb1bdb..6302cc0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + - name: Setup .NET + uses: actions/setup-dotnet@v3 with: - dotnet-version: 3.1.101 + dotnet-version: '8.0.x' - name: Install dependencies run: dotnet restore - name: Build diff --git a/sample/Sample.csproj b/sample/Sample.csproj index 6a3b4d3..e6ef433 100644 --- a/sample/Sample.csproj +++ b/sample/Sample.csproj @@ -1,8 +1,8 @@ - + Exe - netcoreapp3.1 + net8.0 QSharpCommunity.Simulators.Chp.StabilizerSimulator AnyCPU;x64 @@ -11,4 +11,9 @@ + + + + + \ No newline at end of file diff --git a/src/ChpSimulator.csproj b/src/ChpSimulator.csproj index 87da217..e3b64d8 100644 --- a/src/ChpSimulator.csproj +++ b/src/ChpSimulator.csproj @@ -1,7 +1,7 @@ - + - netstandard2.1 + net8.0 AnyCPU;x64 @@ -14,8 +14,8 @@ - - + + diff --git a/test/ChpSimulator.Test.csproj b/test/ChpSimulator.Test.csproj index 7a5456a..1daedcb 100644 --- a/test/ChpSimulator.Test.csproj +++ b/test/ChpSimulator.Test.csproj @@ -1,16 +1,16 @@ - + - netcoreapp3.1 + net8.0 false AnyCPU;x64 - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -21,4 +21,9 @@ + + + + +