diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 476578d..4592dcf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup .NET 6.0 uses: actions/setup-dotnet@v5 with: @@ -37,5 +37,5 @@ jobs: - name: Pack if: ${{ runner.os == 'Windows' && github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }} run: | - dotnet pack ./Google.Authenticator/Google.Authenticator.csproj --configuration $(buildConfiguration) --no-build + dotnet pack ./Google.Authenticator/Google.Authenticator.csproj --configuration Release --no-build dotnet nuget push **\*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.NUGET_KEY }}