From 12e73a1efa436fd50b574b6aa88cb89d34c23311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Wed, 17 Aug 2022 00:04:43 +0200 Subject: [PATCH] Fall back to `sh` on non-Windows Fixes https://github.com/actions/upload-pages-artifact/issues/13 --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 2f162b8..b04808d 100644 --- a/action.yml +++ b/action.yml @@ -14,7 +14,7 @@ runs: using: composite steps: - name: Archive artifact - shell: bash + shell: sh if: runner.os == 'Linux' run: | tar \ @@ -29,7 +29,7 @@ runs: # Switch to gtar (GNU tar instead of bsdtar which is the default in the MacOS runners so we can use --hard-dereference) - name: Archive artifact - shell: bash + shell: sh if: runner.os == 'macOS' run: | gtar \