Skip to content

OUTDATED DOC : Wails build action fails due to deprecated upload-artifact@v3 #5058

@Vishnuj-n

Description

@Vishnuj-n

Description

Example github action used to cross build from [ https://wails.io/docs/guides/crossplatform-build/ ] is outdated as i am getting error saying deprecated version is there like this below:

""" build (App, linux/amd64, ubuntu-latest)
This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v3. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
"""

Similarly for other two OS also

Minimal reproducible example repository:
https://github.com/Vishnuj-n/wails-action-check

check out the action page

To Reproduce

  1. Create a Wails project.
  2. Add the GitHub Actions workflow from the Wails documentation for cross-platform builds.
  3. Push the repository.
  4. Push a tag to trigger the workflow.

Expected behaviour

The workflow should build the Wails application successfully for:

linux/amd64

windows/amd64

darwin/universal

and upload the build artifacts.

Actual behaviour

The workflow fails with the following error:

This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v3.

This occurs across all matrix builds (Linux, Windows, macOS).

Screenshots

Image

Attempted Fixes

I had used it for a different project did not work so built one another simple workflow from scratch. Just made this repo: https://github.com/Vishnuj-n/wails-action-check try different things to the workflow did not work. So the latest action.yml file is same as the one present in the doc and ran a action and got a error https://github.com/[Vishnuj-n/wails-action-check](https://github.com/Vishnuj-n/wails-action-check/actions/runs/23111159542)/actions/runs/23111159542

System Details

GitHub action workflow so no use of wails doctor

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions