diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index ead874fc..6f9108c1 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -17,13 +17,13 @@ jobs: - uses: actions/setup-dotnet@v3 with: dotnet-version: "7.0.x" - source-url: https://nuget.pkg.github.com/matigramirez/index.json + source-url: https://api.nuget.org/v3/index.json env: - NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} - run: dotnet build ./src/Parsec --configuration Release - name: Create NuGet package run: dotnet pack ./src/Parsec --configuration Release - name: Publish NuGet package - run: dotnet nuget push ./src/Parsec/bin/Release/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} + run: dotnet nuget push ./src/Parsec/bin/Release/*.nupkg --api-key "$NUGET_API_KEY" diff --git a/src/Parsec/Parsec.csproj b/src/Parsec/Parsec.csproj index 6573c81e..6d9eff15 100644 --- a/src/Parsec/Parsec.csproj +++ b/src/Parsec/Parsec.csproj @@ -4,7 +4,7 @@ 10 AnyCPU;x86 true - 1.0.1 + 1.0.0 Matias Ramirez Matias Ramirez 2022 https://github.com/matigramirez/Parsec