Update to actions/upload-artifact v4.

This commit is contained in:
Cody Henthorne 2024-11-14 11:01:43 -05:00 committed by Greyson Parrelli
parent f3254f99db
commit 0f4caa3dc1
2 changed files with 3 additions and 4 deletions

View file

@ -5,8 +5,7 @@ on:
push: push:
branches: branches:
- 'main' - 'main'
- '4.**' - '7.**'
- '5.**'
permissions: permissions:
contents: read # to fetch code (actions/checkout) contents: read # to fetch code (actions/checkout)
@ -36,7 +35,7 @@ jobs:
- name: Archive reports for failed build - name: Archive reports for failed build
if: ${{ failure() }} if: ${{ failure() }}
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: reports name: reports
path: '*/build/reports' path: '*/build/reports'

View file

@ -83,7 +83,7 @@ jobs:
issue-number: ${{ github.event.pull_request.number }} issue-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: diffuse-output name: diffuse-output
path: ${{ steps.diffuse.outputs.diff-file }} path: ${{ steps.diffuse.outputs.diff-file }}