Skip to content

Fixed CI on Windows

Fixed CI on Windows #3

# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [GitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_continuous_integration --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------
name: continuous_integration
on: [push]
jobs:
windows-latest:
name: windows-latest
runs-on: windows-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: PreliminaryCheck, Clean, Restore, BuildGenerators, RunTests'
run: ./build.cmd PreliminaryCheck Clean Restore BuildGenerators RunTests
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: PreliminaryCheck, Clean, Restore, BuildGenerators, RunTests'
run: ./build.cmd PreliminaryCheck Clean Restore BuildGenerators RunTests
macos-latest:
name: macos-latest
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: PreliminaryCheck, Clean, Restore, BuildGenerators, RunTests'
run: ./build.cmd PreliminaryCheck Clean Restore BuildGenerators RunTests