From 8c6d058f9940f898e27cc22b56600218e95f7bd4 Mon Sep 17 00:00:00 2001 From: Megan Davidson Date: Tue, 19 Sep 2023 12:46:25 +1200 Subject: [PATCH] WIP --- .github/workflows/test-publish.yaml | 4 ++-- workflows/README.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-publish.yaml b/.github/workflows/test-publish.yaml index 5c2ea00d4..4461df006 100644 --- a/.github/workflows/test-publish.yaml +++ b/.github/workflows/test-publish.yaml @@ -36,9 +36,9 @@ jobs: - name: Submit workflow(s) run: | for file in ${{ steps.changed-files.outputs.changed_files }}; do - if [[$file == *.yaml]]; then + if [["$file"=="*.yaml"]]; then echo $file - if [["$file" == *"argo-submits"*]]; then + if [["$file"==*"argo-submits"*]]; then echo $file # ./argo-linux-amd64 submit --from wftmpl/publish-copy -n argo -f $file --generate-name test-mdavidson-gh-action- fi diff --git a/workflows/README.md b/workflows/README.md index 210f5c59c..c1c8a2a38 100644 --- a/workflows/README.md +++ b/workflows/README.md @@ -4,3 +4,4 @@ While using [sprig function](http://masterminds.github.io/sprig/) on a task or workflow parameter that contains a `-`, the parameter has to be passed with `[]` to be correctly parsed: `workflow.parameters.my-param` -> `workflow.parameters['my-param']` +test