mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[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:
8
.github/workflows/lint-format.yml
vendored
8
.github/workflows/lint-format.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user