Replace broken 'Python 中文学习大本营' link with '菜鸟教程 Python3 教程' (#13005) #19202
Workflow file for this run
This file contains hidden or 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
| name: free-programming-books-lint | |
| on: [pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '16.x' | |
| - run: npm install -g free-programming-books-lint | |
| - name: Pull Request | |
| run: | | |
| fpb-lint books casts courses more &> output.log | |
| - name: Clean output and create artifacts | |
| if: always() | |
| run: | | |
| mkdir -p ./pr | |
| echo ${{ github.event.pull_request.html_url }} > ./pr/PRurl | |
| cat output.log | sed -E 's:/home/runner/work/free-programming-books/|⚠.+::' | uniq > ./pr/error.log | |
| - uses: actions/upload-artifact@v5 | |
| if: always() | |
| with: | |
| name: pr | |
| path: pr/ |