-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
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
- Create a Wails project.
- Add the GitHub Actions workflow from the Wails documentation for cross-platform builds.
- Push the repository.
- 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
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 doctorAdditional context
No response