Skip to content

Commit

Permalink
fix: quote conditional and add use chkpt false (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
corang authored Dec 6, 2024
1 parent 517932c commit 4cda4d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/callable-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ jobs:
if: ${{ inputs.uds-releaser == false }}
run: |
if uds run --list | grep -q 'publish-package'; then
UDS_USE_CHECKPOINT=false uds run publish-package --set FLAVOR=${{ inputs.flavor }} --no-progress ${{ inputs.options }}
uds run publish-package --set USE_CHECKPOINT=false --set FLAVOR=${{ inputs.flavor }} --no-progress ${{ inputs.options }}
else
UDS_USE_CHECKPOINT=false uds run publish-release --set FLAVOR=${{ inputs.flavor }} --no-progress ${{ inputs.options }}
uds run publish-release --set USE_CHECKPOINT=false --set FLAVOR=${{ inputs.flavor }} --no-progress ${{ inputs.options }}
fi
- name: Publish Packages/Bundles - uds-releaser
Expand All @@ -83,11 +83,13 @@ jobs:
uds-releaser update-yaml ${{ inputs.flavor }}
if uds run --list | grep -q 'publish-package'; then
uds run publish-package \
--set USE_CHECKPOINT=false \
--set FLAVOR=${{ inputs.flavor }} \
--set ENABLE_UDS_RELEASER=true \
--no-progress ${{ inputs.options }}
else
uds run publish-release \
--set USE_CHECKPOINT=false \
--set FLAVOR=${{ inputs.flavor }} \
--set ENABLE_UDS_RELEASER=true \
--no-progress ${{ inputs.options }}
Expand Down
6 changes: 3 additions & 3 deletions tasks/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tasks:
architecture: ${{ .inputs.architecture }}
team: ${{ .inputs.team }}
name: ${{ .inputs.name }}
- if: ${{ eq .variables.ENABLE_UDS_RELEASER true }}
- if: ${{ eq .variables.ENABLE_UDS_RELEASER "true" }}
task: uds-releaser-publish
with:
path: ${{ .inputs.path }}
Expand Down Expand Up @@ -69,7 +69,7 @@ tasks:
actions:
- task: utils:determine-repo
with:
team: ${{.variables.TEAM}}
team: ${{ .variables.TEAM }}
- description: Get the current Zarf package name
cmd: cat ${{ .inputs.path }}/zarf.yaml | ./uds zarf tools yq .metadata.name
setVariables:
Expand Down Expand Up @@ -97,7 +97,7 @@ tasks:
actions:
- task: utils:determine-repo
with:
team: ${{.variables.TEAM}}
team: ${{ .variables.TEAM }}
- description: Get the current Zarf package name
cmd: cat ${{ .inputs.path }}/zarf.yaml | ./uds zarf tools yq .metadata.name
setVariables:
Expand Down

0 comments on commit 4cda4d9

Please sign in to comment.