Skip to content

Commit

Permalink
Fix Github action to build and deploy the samples
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Mar 21, 2024
1 parent 7ed9dc7 commit 8996873
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
include: "samples/dash-if-reference-player/index.html"
- name: Build all samples
run: |
for sample in ${{fromJson(inputs.samples)}}; do
sudo apt-get install -y jq
samples=$(echo ${{fromJson(inputs.samples)}} | jq -r '.[]')
for sample in $samples; do
echo "Building sample: $sample"
cd samples/$sample
npm install
Expand Down

0 comments on commit 8996873

Please sign in to comment.