Skip to content

Commit f10b4d4

Browse files
committed
Avoid dependence on action for changed packages
1 parent 0ab47a7 commit f10b4d4

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

.github/workflows/markdown_equations.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,10 @@ jobs:
7070
make install-node-modules || make install-node-modules || make install-node-modules
7171
timeout-minutes: 15
7272

73-
# Retrieve list of changed stdlib packages in a push or pull request:
74-
- name: 'Retrieve list of changed stdlib packages'
75-
id: 'changed-packages'
76-
uses: stdlib-js/changed-packages-action@v1
77-
with:
78-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79-
8073
# Generate and commit equation SVG files for README.md files:
8174
- name: 'Generate and commit equation SVG files'
82-
env:
83-
CHANGED_PACKAGES: ${{ join( fromJSON( steps.changed-packages.outputs.packages ), '\n' )}}
8475
run: |
85-
files=$( echo "$CHANGED_PACKAGES" | sed 's/.*/lib\/node_modules\/&\/README.md/' | tr '\n' ' ' )
76+
files=$( git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep .md | tr '\n' ' ' )
8677
echo $files
8778
make markdown-svg-equations-files FILES=$files
8879
git config --local user.email "noreply@stdlib.io"

0 commit comments

Comments
 (0)