Skip to content

(build) Attempt to get documentation published #782

(build) Attempt to get documentation published

(build) Attempt to get documentation published #782

Workflow file for this run

name: Build
on:
push:
branches-ignore:
- "dependabot/**" # Will still build PRs, but not the branches themself
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [
windows-latest,
ubuntu-latest,
# Cake.Recipe currently does not support macOS 14 (M1) due to usage of Cake.Git.
macos-13]
steps:
- uses: actions/[email protected]
- name: Fetch all branches and tags
run: git fetch --unshallow --prune
- name: Tools caching
uses: actions/[email protected]
with:
path: tools
key: ${{ matrix.os }}-tools-${{ hashFiles('recipe.cake', 'Source/Cake.Recipe/Content/addins.cake', 'Source/Cake.Recipe/Content/tools.cake', 'Source/Cake.Recipe/Content/modules.cake') }}
- name: Creating includes.cake file
run: |
Get-ChildItem "./Source/Cake.Recipe/Content/*.cake" -Exclude "version.cake" | % {
"#load `"local:?path=$($_.FullName -replace '\\','/')`""
} | Out-File "./includes.cake"
shell: pwsh
- name: Build Cake.Recipe
uses: cake-build/[email protected]
with:
script-path: recipe.cake
target: CI
cake-version: 2.2.0
cake-bootstrap: true