Skip to content

GitHubActionCommand UploadArtifact is not using the latest @v4 Version. #4331

@dellis1972

Description

@dellis1972

Prerequisites

  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported

Cake runner

Cake .NET Tool

Cake version

4.0.0

Operating system

Windows

Operating system architecture

64-Bit

CI Server

GitHub Actions

What are you seeing?

The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "foo".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

What is expected?

The upload process should be using the very latest verison of the action

Steps to Reproduce

Call the UploadArtifacts API

await context.GitHubActions().Commands.UploadArtifact(new DirectoryPath("Artifacts"), $"artifact1");

Output log

Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "nuget-linux", "nuget-mac", "nuget-windows", "tests-tools-linux", "tests-tools-mac", "tests-tools-windows".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions