Skip to content

Add NuGet and GitHub tokens as arguments in build.cake #167

Add NuGet and GitHub tokens as arguments in build.cake

Add NuGet and GitHub tokens as arguments in build.cake #167

Workflow file for this run

name: nuget-build-deploy
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Check out Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run cake
uses: cake-build/[email protected]
with:
arguments: |
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
GITHUB_TOKEN: ${{ github.token }}