Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks done
dellis1972 opened this issue Sep 15, 2024 · 1 comment · Fixed by #4350
Closed
2 tasks done

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

dellis1972 opened this issue Sep 15, 2024 · 1 comment · Fixed by #4350
Assignees
Milestone

Comments

@dellis1972
Copy link

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/

@cake-build-bot
Copy link

🎉 This issue has been resolved in version v4.1.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

harry-cpp pushed a commit to MonoGame/MonoGame that referenced this issue Nov 13, 2024
Context cake-build/cake#4331
Support github actions upload/download v4

Pin the MacOS Workloads to 8.0.402.0 so that we can avoid build issues
until the CI images have been upgraded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants