[ci] Remove archival for lint patches (#8745)

When downloading a patch to fix linting errors, it's annoying to have to
unzip it, particularly when it's a single file. This PR updates the
`upload-artifact` action to v7, which allows for uploading an artifact
without zipping it. It also sets archive to false for all patches
generated by linting.
This commit is contained in:
Sam Freund
2026-04-10 14:26:13 -05:00
committed by GitHub
parent b6849a8da3
commit ce77e6022f
5 changed files with 17 additions and 17 deletions

View File

@@ -44,9 +44,9 @@ jobs:
- name: Generate diff
run: git diff HEAD > wpiformat-fixes.patch
if: ${{ failure() }}
- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: wpiformat fixes
archive: false
path: wpiformat-fixes.patch
if: ${{ failure() }}
- name: Write to job summary
@@ -111,9 +111,9 @@ jobs:
- name: Generate diff
run: git diff HEAD > javaformat-fixes.patch
if: ${{ failure() }}
- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: javaformat fixes
archive: false
path: javaformat-fixes.patch
if: ${{ failure() }}
- name: Write to job summary