Skip to content

Merge pull request #147 from devlead/feature/gh-146 #30

Merge pull request #147 from devlead/feature/gh-146

Merge pull request #147 from devlead/feature/gh-146 #30

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- main
- develop
- hotfix/*
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Get the sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install .NET SDK 6.0.x - 8.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
8.0.x
- name: Run Cake script
uses: cake-build/cake-action@master
env:
GH_PACKAGES_NUGET_SOURCE: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
GH_PACKAGES_NUGET_APIKEY: ${{ secrets.GITHUB_TOKEN }}
NUGET_SOURCE: ${{ secrets.NUGET_API_URL }}
NUGET_APIKEY: ${{ secrets.NUGET_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
cake-version: tool-manifest
target: GitHub-Actions