-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
929a05b
commit b4e4102
Showing
1 changed file
with
4 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]" | ||
|