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
pull/11048/head
Leithen 10 months ago committed by GitHub
parent ce21d1a1c7
commit 21f5123bf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      .github/workflows/check-urls.yml
  2. 2
      .github/workflows/fpb-lint.yml

@ -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:

@ -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…
Cancel
Save