1
0
mirror of https://github.com/namibia/free-programming-books.git synced 2024-11-28 22:26:28 +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:
borgified 2020-09-05 09:28:15 -07:00 committed by GitHub
parent c843790eca
commit 3daf3a8d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: check_urls name: Check URLs from changed files
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
job: job:
@ -13,4 +13,7 @@ jobs:
with: with:
ruby-version: 2.4.1 ruby-version: 2.4.1
- run: gem install awesome_bot - 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