9191 # Generate list of changed Markdown files:
9292 - name : ' Find changed Markdown files'
9393 run : |
94- echo "::set-output name= files:: $(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep .md | tr '\n' ' ')"
94+ echo "files= $(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep .md | tr '\n' ' ')" >> $GITHUB_OUTPUT
9595 id : changed
9696
9797 # Generate SVG equations:
@@ -102,12 +102,12 @@ jobs:
102102
103103 if [[ -z "$(git status --porcelain)" ]]; then
104104 # If no files were changed, exit with a success status code:
105- echo "::set-output name= changed:: false"
105+ echo "changed= false" >> $GITHUB_OUTPUT
106106 exit 0
107107 else
108108 # Otherwise, add changed files to the staging area and commit:
109109 git add -A && git commit -m "Add SVG equations"
110- echo "::set-output name= changed:: true"
110+ echo "changed= true" >> $GITHUB_OUTPUT
111111 fi
112112 timeout-minutes : 15
113113
@@ -120,12 +120,12 @@ jobs:
120120
121121 if [[ -z "$(git status --porcelain)" ]]; then
122122 # If no files were changed, exit with a success status code:
123- echo "::set-output name= changed:: false"
123+ echo "changed= false" >> $GITHUB_OUTPUT
124124 exit 0
125125 else
126126 # Otherwise, add changed files to the staging area and commit:
127127 git add -A && git commit -m "Update Markdown equation elements"
128- echo "::set-output name= changed:: true"
128+ echo "changed= true" >> $GITHUB_OUTPUT
129129 fi
130130 timeout-minutes : 15
131131
0 commit comments