From 6e17e76055ad66e45cd972687afc78bd6dadf907 Mon Sep 17 00:00:00 2001 From: Sam Hoffman Date: Wed, 16 Mar 2022 20:35:14 -0600 Subject: [PATCH 1/2] add quotes --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 5833ada..3525b7b 100644 --- a/action.yml +++ b/action.yml @@ -24,7 +24,7 @@ runs: - name: Create LFS file list run: | - git lfs ls-files --long --include ${{ inputs.include }} --exclude ${{ inputs.exclude }} . | cut -d ' ' -f1 | sort > .lfs-assets-id + git lfs ls-files --long --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" . | cut -d ' ' -f1 | sort > .lfs-assets-id shell: bash - name: Restore LFS cache @@ -35,5 +35,5 @@ runs: key: lfs-${{ hashFiles('.lfs-assets-id') }}-v1 - name: Git LFS Pull - run: git lfs pull --include ${{ inputs.include }} --exclude ${{ inputs.exclude }} + run: git lfs pull --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" shell: bash From c895b6ee0dfbc24558a528bb13d954ad70ac98c7 Mon Sep 17 00:00:00 2001 From: Sam Hoffman Date: Wed, 16 Mar 2022 20:38:50 -0600 Subject: [PATCH 2/2] remove period --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3525b7b..6251276 100644 --- a/action.yml +++ b/action.yml @@ -24,7 +24,7 @@ runs: - name: Create LFS file list run: | - git lfs ls-files --long --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" . | cut -d ' ' -f1 | sort > .lfs-assets-id + git lfs ls-files --long --include "${{ inputs.include }}" --exclude "${{ inputs.exclude }}" | cut -d ' ' -f1 | sort > .lfs-assets-id shell: bash - name: Restore LFS cache