Skip to content

Commit

Permalink
chore: Update Android demos build workflow to have a time out and lim…
Browse files Browse the repository at this point in the history
…it the number of parallel jobs
  • Loading branch information
cpholguera committed Jul 17, 2024
1 parent bbea86a commit 6aaef65
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-android-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,19 @@ jobs:
done
matrix="${matrix%,}]}"
echo "matrix=$matrix" >> $GITHUB_ENV
echo "::set-output name=matrix::$matrix"
echo "matrix=$matrix" >> $GITHUB_OUTPUT
- name: Print matrix
run: echo "${{ steps.set-matrix.outputs.matrix }}"

build:
needs: generate-matrix
runs-on: ubuntu-latest
timeout-minutes: 60 # Increase this value as needed
strategy:
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}

max-parallel: 3 # Limit the number of parallel jobs

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 6aaef65

Please sign in to comment.