From 24cc01a13badc3ef9dd396c3f765663f901c4bac Mon Sep 17 00:00:00 2001 From: Lucas Gameiro Borges Date: Thu, 3 Oct 2024 01:33:18 +0000 Subject: [PATCH] fix workflow --- .github/workflows/_update_bundle.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/_update_bundle.yaml b/.github/workflows/_update_bundle.yaml index bf3303f5..77c7fd81 100644 --- a/.github/workflows/_update_bundle.yaml +++ b/.github/workflows/_update_bundle.yaml @@ -63,7 +63,7 @@ jobs: if: ${{ fromJSON(steps.update-file.outputs.updates_available) }} run: | git checkout -b update-bundle - git add '${{ inputs.path-to-bundle-file }}' '${{ inputs.path-to-snaps-file }}' + git add '${{ inputs.path-to-bundle-file }}'${{ inputs.path-to-snaps-file && ' ' + inputs.path-to-snaps-file || '' }} git config user.name "GitHub Actions" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git commit -m "Update bundle"