diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bca5be4b..35587c7e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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}} diff --git a/build.fsx b/build.fsx index 2a55ae7e..f9e73cea 100644 --- a/build.fsx +++ b/build.fsx @@ -172,6 +172,7 @@ Target.create "Release" (fun _ -> ) Target.create "All" ignore +Target.create "CI" ignore "CheckEnv" ==> "Release" @@ -181,9 +182,10 @@ Target.create "All" ignore ==> "BuildBenchmarkDotNet" ==> "BuildTest" ==> "RunTest" - ==> "RunBenchmarkDotNetTest" ==> "Pack" ==> "All" + ==> "RunBenchmarkDotNetTest" + ==> "CI" ==> "Push" ==> "Release"