diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 081e1d3..d5b2c55 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -62,10 +62,10 @@ jobs: # .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" - name: Pack NuGet package - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main-not' run: dotnet pack .\src\${{ env.ProjectName }}\${{ env.ProjectName }}.csproj - name: Push to NuGet - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main-not' run: dotnet nuget push "**\${{ env.ProjectName }}.*.nupkg" --api-key ${{secrets.nuget_api_key}} --skip-duplicate --source https://api.nuget.org/v3/index.json diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5b71c92..e8d59d3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: - name: 🛠 Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.x' + dotnet-version: '9.x' - name: 🔍 Restore dependencies run: dotnet restore @@ -28,5 +28,5 @@ jobs: run: dotnet pack --configuration Release --no-build --output ./nupkg - name: 🚀 Publish to NuGet.org - run: dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + run: dotnet nuget push ./nupkg/*.nupkg --skip-duplicate --source https://int.nugettest.org/v3.index.json # https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} diff --git a/.idea/.idea.AStar.Dev.Functional.Extensions/.idea/vcs.xml b/.idea/.idea.AStar.Dev.Functional.Extensions/.idea/vcs.xml index 35eb1dd..a5aec53 100644 --- a/.idea/.idea.AStar.Dev.Functional.Extensions/.idea/vcs.xml +++ b/.idea/.idea.AStar.Dev.Functional.Extensions/.idea/vcs.xml @@ -1,5 +1,11 @@ + + + + + + diff --git a/AStar.Dev.Functional.Extensions.sln b/AStar.Dev.Functional.Extensions.sln index d6539c3..b8a17c8 100644 --- a/AStar.Dev.Functional.Extensions.sln +++ b/AStar.Dev.Functional.Extensions.sln @@ -9,6 +9,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{2C3EC910-77D3-475C-A9EE-E8F9F9C8C43C}" ProjectSection(SolutionItems) = preProject .github\workflows\publish.yml = .github\workflows\publish.yml + .github\workflows\dotnet.yml = .github\workflows\dotnet.yml EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AStar.Dev.ConsoleSample", "samples\AStar.Dev.ConsoleSample\AStar.Dev.ConsoleSample.csproj", "{16513013-C9A4-4707-9D79-87A2F5BBCF5C}"