Compare commits

...

3 Commits

Author SHA1 Message Date
Nasril ilham Saputra 601bc9d5fc
Merge 72c7d375e3 into 3e5b5a51d1 2024-11-19 21:22:55 +00:00
Leithen 3e5b5a51d1
Skip check if file is not .yml or .md (#11760) 2024-11-19 16:22:42 -05:00
Nasril ilham Saputra 72c7d375e3
Update README.md 2024-10-30 09:45:11 +07:00
2 changed files with 5 additions and 1 deletions

View File

@ -74,14 +74,17 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- name: Checkout - name: Checkout
if: ${{ endsWith(matrix.file, '.yml') || endsWith(matrix.file, '.md') }}
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: ${{ needs.get-changed-files.outputs.fetch-depth }} fetch-depth: ${{ needs.get-changed-files.outputs.fetch-depth }}
- name: Setup Ruby v2.6 - name: Setup Ruby v2.6
if: ${{ endsWith(matrix.file, '.yml') || endsWith(matrix.file, '.md') }}
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
ruby-version: 2.6 ruby-version: 2.6
- name: Install awesome_bot - name: Install awesome_bot
if: ${{ endsWith(matrix.file, '.yml') || endsWith(matrix.file, '.md') }}
run: | run: |
gem install awesome_bot gem install awesome_bot
- name: Set output - name: Set output
@ -101,6 +104,7 @@ jobs:
echo "FILEPATH=${file_path}" >> "$GITHUB_OUTPUT" echo "FILEPATH=${file_path}" >> "$GITHUB_OUTPUT"
- name: "Check URLs of file: ${{ matrix.file }}" - name: "Check URLs of file: ${{ matrix.file }}"
if: ${{ endsWith(matrix.file, '.yml') || endsWith(matrix.file, '.md') }}
run: | run: |
awesome_bot "${{ matrix.file }}" --allow-redirect --allow-dupe --allow-ssl || true; awesome_bot "${{ matrix.file }}" --allow-redirect --allow-dupe --allow-ssl || true;
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4

View File

@ -79,7 +79,7 @@ This project lists books and other resources grouped by genres:
#### Other Languages #### Other Languages
+ [Arabic / al arabiya / العربية](books/free-programming-books-ar.md) + [Arabic / al-arabiya / العربية](books/free-programming-books-ar.md)
+ [Armenian / Հայերեն](books/free-programming-books-hy.md) + [Armenian / Հայերեն](books/free-programming-books-hy.md)
+ [Azerbaijani / Азәрбајҹан дили / آذربايجانجا ديلي](books/free-programming-books-az.md) + [Azerbaijani / Азәрбајҹан дили / آذربايجانجا ديلي](books/free-programming-books-az.md)
+ [Bengali / বাংলা](books/free-programming-books-bn.md) + [Bengali / বাংলা](books/free-programming-books-bn.md)