Skip to content

Commit

Permalink
Update convert.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronBrennan1 authored Jan 23, 2024
1 parent 929a05b commit b4e4102
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/convert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,21 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout Repository
uses: actions/checkout@v2




uses: actions/checkout@v2

- name: Get Changed MLX Files
id: getfile

id: getfile
run: |
changed_files=$(git diff --name-only || grep '\.mlx')
echo "::set-output name=mlx_files::$changed_files"
- name: Convert MLX to HTML
if: steps.find-mlx.outputs.mlx_files != ''
if: steps.getfiles.outputs.mlx_files != ''
run: |
./run_matlab.sh "${{ steps.getfile.outputs.mlx_files }}"
- name: Commit and Push New File
if: steps.check_msg.outputs.run_job == 'true'

run: |
git config user.name "GitHub Action"
git config user.email "[email protected]"
Expand Down

0 comments on commit b4e4102

Please sign in to comment.