Skip to content

Commit

Permalink
experiment: force build to test workflow trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissimon-au committed Nov 22, 2023
1 parent 16dfa05 commit 50719de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/contextive-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
build-and-test:
name: 'Build and Test'
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Triggered by '${{ github.event_name }}' @ '${{ github.ref }}''. Running on ${{ runner.os }}
run: |
Expand Down
6 changes: 3 additions & 3 deletions src/language-server/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ open Fun.Build
type Component = { Name: string; Path: string }

let args =
{| runtime =
{| dotnetRuntime =
CmdArg.Create(
"-r",
"--runtime",
Expand Down Expand Up @@ -58,11 +58,11 @@ let logGroup (s: Internal.StageContext) =
let dotnetPublish app =
stage $"Publish {app.Name}" {
workingDir app.Path
whenCmdArg args.runtime
whenCmdArg args.dotnetRuntime

run (fun ctx ->
let runTimeFlag =
match ctx.GetCmdArg(args.runtime) with
match ctx.GetCmdArg(args.dotnetRuntime) with
| r when not <| System.String.IsNullOrEmpty(r) -> $"-r {r}"
| _ -> ""

Expand Down

0 comments on commit 50719de

Please sign in to comment.