Skip to content

Bump to Cake 4.0.0 (#59) #5

Bump to Cake 4.0.0 (#59)

Bump to Cake 4.0.0 (#59) #5

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
release:
name: Release
if: "!contains(github.event.head_commit.message, 'skip-ci')"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
8.0.x
- name: Nerdbank.GitVersioning
uses: dotnet/nbgv@v0.4.0
with:
setAllVars: true
- name: Build
uses: cake-build/cake-action@v1
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
with:
target: Github