Skip to content

[SPARK-57779][INFRA] Upgrade GitHub Actions artifact actions#56896

Closed
zhengruifeng wants to merge 1 commit into
apache:masterfrom
zhengruifeng:upgrade-upload-artifact-v7-dev6
Closed

[SPARK-57779][INFRA] Upgrade GitHub Actions artifact actions#56896
zhengruifeng wants to merge 1 commit into
apache:masterfrom
zhengruifeng:upgrade-upload-artifact-v7-dev6

Conversation

@zhengruifeng

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR upgrades the remaining actions/upload-artifact and actions/download-artifact pins that were left behind a recent bulk upgrade, so all artifact actions in the workflows are on a single version:

  • actions/upload-artifact@v6 -> @v7 (python_hosted_runner_test.yml)
  • actions/download-artifact@v6 -> @v8 (python_hosted_runner_test.yml, build_and_test.yml x2)

After this change there are no @v6 artifact action pins left in .github/workflows/; everything is uniformly upload-artifact@v7 / download-artifact@v8.

Why are the changes needed?

These four steps (the shared SBT precompile artifact upload/download added in SPARK-56830 / SPARK-57069) were missed when the rest of the workflows were bumped to upload-artifact@v7 / download-artifact@v8. Notably, in build_and_test.yml the same spark-compile-* artifact is uploaded with @v7 but downloaded with @v6. Aligning the versions keeps the actions consistent and on the current major.

Does this PR introduce any user-facing change?

No. CI-only change.

How was this patch tested?

Manual review. Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.8)

### What changes were proposed in this pull request?

This PR upgrades the remaining `actions/upload-artifact` and `actions/download-artifact` pins that were left behind a recent bulk upgrade, so all artifact actions in the workflows are on a single version:

- `actions/upload-artifact@v6` -> `@v7` (`python_hosted_runner_test.yml`)
- `actions/download-artifact@v6` -> `@v8` (`python_hosted_runner_test.yml`, `build_and_test.yml` x2)

After this change there are no `@v6` artifact action pins left in `.github/workflows/`; everything is uniformly `upload-artifact@v7` / `download-artifact@v8`.

### Why are the changes needed?

These four steps (the shared SBT precompile artifact upload/download added in SPARK-56830 / SPARK-57069) were missed when the rest of the workflows were bumped to `upload-artifact@v7` / `download-artifact@v8`. Notably, in `build_and_test.yml` the same `spark-compile-*` artifact is uploaded with `@v7` but downloaded with `@v6`. Aligning the versions keeps the actions consistent and on the current major.

### Does this PR introduce _any_ user-facing change?

No. CI-only change.

### How was this patch tested?

Manual review. Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.8)
@zhengruifeng zhengruifeng changed the title [INFRA] Upgrade GitHub Actions artifact actions to v7/v8 [INFRA] Upgrade GitHub Actions artifact actions Jun 30, 2026
@zhengruifeng zhengruifeng changed the title [INFRA] Upgrade GitHub Actions artifact actions [SPARK-57779][INFRA] Upgrade GitHub Actions artifact actions Jun 30, 2026
@zhengruifeng zhengruifeng marked this pull request as ready for review June 30, 2026 09:26
zhengruifeng added a commit that referenced this pull request Jul 1, 2026
### What changes were proposed in this pull request?

This PR upgrades the remaining `actions/upload-artifact` and `actions/download-artifact` pins that were left behind a recent bulk upgrade, so all artifact actions in the workflows are on a single version:

- `actions/upload-artifactv6` -> `v7` (`python_hosted_runner_test.yml`)
- `actions/download-artifactv6` -> `v8` (`python_hosted_runner_test.yml`, `build_and_test.yml` x2)

After this change there are no `v6` artifact action pins left in `.github/workflows/`; everything is uniformly `upload-artifactv7` / `download-artifactv8`.

### Why are the changes needed?

These four steps (the shared SBT precompile artifact upload/download added in SPARK-56830 / SPARK-57069) were missed when the rest of the workflows were bumped to `upload-artifactv7` / `download-artifactv8`. Notably, in `build_and_test.yml` the same `spark-compile-*` artifact is uploaded with `v7` but downloaded with `v6`. Aligning the versions keeps the actions consistent and on the current major.

### Does this PR introduce _any_ user-facing change?

No. CI-only change.

### How was this patch tested?

Manual review. Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.8)

Closes #56896 from zhengruifeng/upgrade-upload-artifact-v7-dev6.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Ruifeng Zheng <ruifengz@foxmail.com>
(cherry picked from commit 9139332)
Signed-off-by: Ruifeng Zheng <ruifengz@foxmail.com>
@zhengruifeng

zhengruifeng commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

thanks, merged into master/4.x/4.2

zhengruifeng added a commit that referenced this pull request Jul 1, 2026
### What changes were proposed in this pull request?

This PR upgrades the remaining `actions/upload-artifact` and `actions/download-artifact` pins that were left behind a recent bulk upgrade, so all artifact actions in the workflows are on a single version:

- `actions/upload-artifactv6` -> `v7` (`python_hosted_runner_test.yml`)
- `actions/download-artifactv6` -> `v8` (`python_hosted_runner_test.yml`, `build_and_test.yml` x2)

After this change there are no `v6` artifact action pins left in `.github/workflows/`; everything is uniformly `upload-artifactv7` / `download-artifactv8`.

### Why are the changes needed?

These four steps (the shared SBT precompile artifact upload/download added in SPARK-56830 / SPARK-57069) were missed when the rest of the workflows were bumped to `upload-artifactv7` / `download-artifactv8`. Notably, in `build_and_test.yml` the same `spark-compile-*` artifact is uploaded with `v7` but downloaded with `v6`. Aligning the versions keeps the actions consistent and on the current major.

### Does this PR introduce _any_ user-facing change?

No. CI-only change.

### How was this patch tested?

Manual review. Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.8)

Closes #56896 from zhengruifeng/upgrade-upload-artifact-v7-dev6.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Ruifeng Zheng <ruifengz@foxmail.com>
(cherry picked from commit 9139332)
Signed-off-by: Ruifeng Zheng <ruifengz@foxmail.com>
@zhengruifeng zhengruifeng deleted the upgrade-upload-artifact-v7-dev6 branch July 1, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants