Skip to content

Commit

Permalink
Fixed CI on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
veler committed Apr 7, 2024
1 parent 421ecf8 commit d6b0d86
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

name: continuous_integration

on: [push, pull_request]
on: [push]

jobs:
windows-latest:
Expand All @@ -32,8 +32,8 @@ jobs:
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: RunTests'
run: ./build.cmd RunTests
- name: 'Run: PreliminaryCheck, Clean, Restore, BuildGenerators, RunTests'
run: ./build.cmd PreliminaryCheck Clean Restore BuildGenerators RunTests
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
Expand All @@ -47,8 +47,8 @@ jobs:
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: RunTests'
run: ./build.cmd RunTests
- name: 'Run: PreliminaryCheck, Clean, Restore, BuildGenerators, RunTests'
run: ./build.cmd PreliminaryCheck Clean Restore BuildGenerators RunTests
macos-latest:
name: macos-latest
runs-on: macos-latest
Expand All @@ -62,5 +62,5 @@ jobs:
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: RunTests'
run: ./build.cmd RunTests
- name: 'Run: PreliminaryCheck, Clean, Restore, BuildGenerators, RunTests'
run: ./build.cmd PreliminaryCheck Clean Restore BuildGenerators RunTests
4 changes: 2 additions & 2 deletions src/build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
GitHubActionsImage.WindowsLatest,
GitHubActionsImage.UbuntuLatest,
GitHubActionsImage.MacOsLatest,
On = [GitHubActionsTrigger.Push, GitHubActionsTrigger.PullRequest],
InvokedTargets = [nameof(RunTests)],
On = [GitHubActionsTrigger.Push],
InvokedTargets = [nameof(PreliminaryCheck), nameof(Clean), nameof(Restore), nameof(BuildGenerators), nameof(RunTests)],
TimeoutMinutes = 30,
AutoGenerate = true)]
class Build : NukeBuild
Expand Down

0 comments on commit d6b0d86

Please sign in to comment.