diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 3d1e232d74..5c16f6409c 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -127,20 +127,20 @@ jobs: run: git --no-pager diff --exit-code HEAD - name: Generate diff - run: git diff HEAD > bazel-lint-fixes.patch + run: git diff HEAD > ${{ matrix.platform }}-bazel-lint-fixes.patch if: ${{ failure() }} - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: - name: ${{ matrix.platform }}-bazel-lint-fixes - path: bazel-lint-fixes.patch + archive: false + path: *-bazel-lint-fixes.patch if: ${{ failure() }} robotpy_pregeneration: name: "Robotpy Pregeneration" runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: { fetch-depth: 0 } - id: Setup_build_buddy diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d6d2ea08db..5f091dd025 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -68,7 +68,7 @@ jobs: env: ARTIFACTORY_PUBLISH_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} ARTIFACTORY_PUBLISH_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: ${{ matrix.artifact-name }} path: build/allOutputs @@ -175,7 +175,7 @@ jobs: if: | matrix.artifact-name == 'macOS' && (github.repository == 'wpilibsuite/allwpilib' && (github.ref == 'refs/heads/2027' || startsWith(github.ref, 'refs/tags/v2027'))) - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: ${{ matrix.artifact-name }} path: ${{ matrix.outputs }} @@ -204,7 +204,7 @@ jobs: env: ARTIFACTORY_PUBLISH_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} ARTIFACTORY_PUBLISH_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: Documentation path: docs/build/outputs @@ -344,7 +344,7 @@ jobs: RUN_AZURE_ARTIFACTORY_RELEASE: "TRUE" ARTIFACTORY_PUBLISH_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} ARTIFACTORY_PUBLISH_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 if: | github.repository == 'wpilibsuite/allwpilib' && (github.ref == 'refs/heads/2027' || startsWith(github.ref, 'refs/tags/v2027')) diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index 941744d5cb..3911345f64 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -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 diff --git a/.github/workflows/pregenerate.yml b/.github/workflows/pregenerate.yml index 10f9e76f8f..c4f96f3bdc 100644 --- a/.github/workflows/pregenerate.yml +++ b/.github/workflows/pregenerate.yml @@ -27,8 +27,8 @@ jobs: - name: Generate diff run: git diff HEAD > pregenerated-files-fixes.patch if: ${{ failure() }} - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: - name: pregenerated-files-fixes + archive: false path: pregenerated-files-fixes.patch if: ${{ failure() }} diff --git a/.github/workflows/sentinel-build.yml b/.github/workflows/sentinel-build.yml index 1bf91a1792..64c96a0c62 100644 --- a/.github/workflows/sentinel-build.yml +++ b/.github/workflows/sentinel-build.yml @@ -57,7 +57,7 @@ jobs: run: ./gradlew build -PbuildServer -PskipJavaFormat ${{ matrix.build-options }} - name: Check free disk space run: df . - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: ${{ matrix.artifact-name }} path: build/allOutputs @@ -159,7 +159,7 @@ jobs: - name: Check disk free space (macOS) run: df -h . if: matrix.os == 'macOS-15' - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: ${{ matrix.artifact-name }} path: ${{ matrix.outputs }}