Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fall back to sh on non-Windows
  • Loading branch information
Naïm Favier committed Oct 29, 2022
1 parent a597aec commit 12e73a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Expand Up @@ -14,7 +14,7 @@ runs:
using: composite
steps:
- name: Archive artifact
shell: bash
shell: sh
if: runner.os == 'Linux'
run: |
tar \
Expand All @@ -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 \
Expand Down

0 comments on commit 12e73a1

Please sign in to comment.