Skip to content

Commit

Permalink
Split out a CI fake target so slower tests can run on PRs and release…
Browse files Browse the repository at this point in the history
…, but not in local dev loop
  • Loading branch information
farlee2121 committed Aug 24, 2024
1 parent 23cb3fc commit 1f36e5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
global-json-file: "./global.json"
- run: ./fake build --target Pack
- run: ./fake build --target CI
env:
NUGET_TOKEN: ${{secrets.NUGET_RELEASE_KEY}}
4 changes: 3 additions & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ Target.create "Release" (fun _ ->
)

Target.create "All" ignore
Target.create "CI" ignore

"CheckEnv"
==> "Release"
Expand All @@ -181,9 +182,10 @@ Target.create "All" ignore
==> "BuildBenchmarkDotNet"
==> "BuildTest"
==> "RunTest"
==> "RunBenchmarkDotNetTest"
==> "Pack"
==> "All"
==> "RunBenchmarkDotNetTest"
==> "CI"
==> "Push"
==> "Release"

Expand Down

0 comments on commit 1f36e5b

Please sign in to comment.