Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 29, 2025

The workflow uses actions/upload-artifact@v1.0.0, which was deprecated February 13, 2024. Other actions also use outdated versions or branch references instead of version tags.

Changes

  • actions/checkout: @master@v4 (pinned version tag)
  • actions/upload-artifact: v1.0.0v4 (resolves deprecation)
  • microsoft/setup-msbuild: v1v2

Before:

- uses: actions/checkout@master
- uses: actions/upload-artifact@v1.0.0
  with:
    name: BepInEx.Debug
    path: bin

After:

- uses: actions/checkout@v4
- uses: actions/upload-artifact@v4
  with:
    name: BepInEx.Debug
    path: bin
Original prompt

The build workflow for the BepInEx/BepInEx.Debug repository is failing due to the usage of deprecated versions of GitHub Actions. Specifically, actions/upload-artifact is using an outdated version (v1.0.0), which has been deprecated as of the GitHub change log from 2024-02-13 (see changelog). This needs to be updated to a currently supported version, such as v3.0.0. Additionally, any other deprecated or outdated actions used in the workflows should be updated to their latest recommended versions to ensure future compatibility and reliability.

Tasks to complete:

  1. Update actions/upload-artifact to at least v3.0.0.
  2. Identify and update any other deprecated or outdated GitHub Actions in the workflow files.
  3. Test the updates to ensure that the build workflow completes successfully without errors.
  4. Include clear and concise documentation in the PR description regarding the changes made and why they are necessary.

This pull request was created from Copilot chat.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: ManlyMarco <39247311+ManlyMarco@users.noreply.github.com>
Copilot AI changed the title [WIP] Update deprecated GitHub Actions in build workflow Update deprecated GitHub Actions to current versions Dec 29, 2025
Copilot AI requested a review from ManlyMarco December 29, 2025 17:41
@ManlyMarco ManlyMarco marked this pull request as ready for review December 29, 2025 17:43
Copilot AI review requested due to automatic review settings December 29, 2025 17:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates deprecated and outdated GitHub Actions in the build workflow to their current versions, addressing the deprecation of actions/upload-artifact@v1.0.0 (deprecated February 13, 2024) and improving overall workflow reliability.

Key Changes:

  • Updated actions/checkout from branch reference (@master) to pinned version tag (@v4)
  • Updated actions/upload-artifact from deprecated v1.0.0 to current v4
  • Updated microsoft/setup-msbuild from v1 to v2

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ManlyMarco ManlyMarco merged commit ee165a5 into master Dec 29, 2025
7 checks passed
@ManlyMarco ManlyMarco deleted the copilot/update-github-actions-version branch December 29, 2025 17:47
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.

2 participants