Skip to content

Commit 4aa14c2

Browse files
authored
Fix failing ls command in case no screenshots (#245)
2 parents 19e3b44 + 923ea74 commit 4aa14c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: .github/workflows/NativePipeline.yml

+2
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ jobs:
683683
- name: "Download Android screenshots"
684684
run: |
685685
widgets=$(echo '${{ needs.scope.outputs.widgets }}' | jq -r '.[]')
686+
mkdir -p images/actual/android/
686687
for widget in $widgets; do
687688
echo "Downloading android-screenshots-${widget}"
688689
gh run download ${{ github.run_id }} --name android-screenshots-${widget} --dir images/actual/android/ || true
@@ -692,6 +693,7 @@ jobs:
692693
- name: "Download iOS screenshots"
693694
run: |
694695
widgets=$(echo '${{ needs.scope.outputs.widgets }}' | jq -r '.[]')
696+
mkdir -p images/actual/ios/
695697
for widget in $widgets; do
696698
echo "Downloading ios-screenshots-${widget}"
697699
gh run download ${{ github.run_id }} --name ios-screenshots-${widget} --dir images/actual/ios/ || true

0 commit comments

Comments
 (0)