mirror of
https://github.com/actions/upload-pages-artifact.git
synced 2025-12-08 16:16:18 +00:00
Merge pull request #14 from ncfavier/patch-1
Fall back to `sh` on non-Windows
This commit is contained in:
@@ -14,7 +14,7 @@ runs:
|
|||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Archive artifact
|
- name: Archive artifact
|
||||||
shell: bash
|
shell: sh
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
tar \
|
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)
|
# 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
|
- name: Archive artifact
|
||||||
shell: bash
|
shell: sh
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
gtar \
|
gtar \
|
||||||
|
|||||||
Reference in New Issue
Block a user