mirror of
https://github.com/namibia/free-programming-books.git
synced 2024-11-25 04:47:33 +00:00
Improve url checker (#3702)
* improvements to check_urls make check have a more descriptive name produce output file instead * upload artifacts * a * change file to trigger test * put things back
This commit is contained in:
parent
c843790eca
commit
3daf3a8d26
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: check_urls
|
||||
name: Check URLs from changed files
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
job:
|
||||
@ -13,4 +13,7 @@ jobs:
|
||||
with:
|
||||
ruby-version: 2.4.1
|
||||
- run: gem install awesome_bot
|
||||
- run: for i in ${{ steps.file_changes.outputs.files_modified }}; do echo; echo "processing $i"; awesome_bot $i --allow-redirect --allow-dupe --skip-save-results --allow-ssl; done
|
||||
- run: for i in ${{ steps.file_changes.outputs.files_modified }}; do echo; echo "processing $i"; awesome_bot $i --allow-redirect --allow-dupe --allow-ssl || true; done
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
path: ${{ github.workspace }}/*.json
|
||||
|
Loading…
Reference in New Issue
Block a user