Skip to content

Commit

Permalink
pybop-team#123 make script executable prior to running it
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Feb 11, 2024
1 parent 4f64bd4 commit 48a3e12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/scheduled_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
jobs:
# Dynamically create a matrix of OS, Python, and PyBaMM versions
create_pybamm_matrix:
name: Dynamically create GitHub Actions matrix
runs-on: ubuntu-latest
outputs:
pybop_matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand All @@ -22,9 +23,11 @@ jobs:
with:
path: .github/workflows/build_matrix.sh

- name: Dynamically create GitHub Actions matrix
- name: Run script to create matrix
id: set-matrix
run: |
chmod +x .github/workflows/build_matrix.sh
git update-index --chmod=+x ./.github/workflows/build_matrix.sh
bash .github/workflows/build_matrix.sh >> matrix_json
echo "matrix=$(cat matrix_json)" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 48a3e12

Please sign in to comment.