mirror of
https://github.com/EbookFoundation/free-programming-books.git
synced 2024-12-18 09:26:10 +00:00
Bump actions/upload-artifact from 3 to 4 (#11043)
* bump actions/upload-artifact from 3 to 4 * change check url artifact name * update download to v4
This commit is contained in:
parent
ce21d1a1c7
commit
21f5123bf7
11
.github/workflows/check-urls.yml
vendored
11
.github/workflows/check-urls.yml
vendored
@ -84,12 +84,15 @@ jobs:
|
||||
- name: Install awesome_bot
|
||||
run: |
|
||||
gem install awesome_bot
|
||||
- name: Set output
|
||||
id: set-output
|
||||
run: echo "FILENAME=$(echo ${{ matrix.file }} | grep -oE '[a-zA-Z0-9_-]+\.yml')" >> "$GITHUB_OUTPUT"
|
||||
- name: "Check URLs of file: ${{ matrix.file }}"
|
||||
run: |
|
||||
awesome_bot "${{ matrix.file }}" --allow-redirect --allow-dupe --allow-ssl || true;
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: awesomebot-results
|
||||
name: ${{ steps.set-output.outputs.FILENAME}}
|
||||
path: ${{ github.workspace }}/ab-results-*.json
|
||||
|
||||
|
||||
@ -101,9 +104,9 @@ jobs:
|
||||
- name: Checkout # for having the sources of the local action
|
||||
uses: actions/checkout@v4
|
||||
# download and unzip the ab-results-*.json generated by job-matrix: check-urls
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: awesomebot-results
|
||||
name: ${{ steps.set-output.outputs.FILENAME}}
|
||||
- name: Generate Summary Report
|
||||
uses: ./.github/actions/awesomebot-gh-summary-action
|
||||
with:
|
||||
|
2
.github/workflows/fpb-lint.yml
vendored
2
.github/workflows/fpb-lint.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
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@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: pr
|
||||
|
Loading…
Reference in New Issue
Block a user