diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab60daa..f29cd50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,10 @@ on: pull_request: branches: - main + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + jobs: build: runs-on: ubuntu-latest @@ -20,5 +24,3 @@ jobs: run: dotnet pack --configuration Release --no-build src/HealthCheck.sln -o dist - name: Push run: dotnet nuget push dist/*.nupkg --source https://nuget.pkg.github.com/cerberix/index.json --api-key ${GITHUB_TOKEN} --skip-duplicate - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}