Because the current build artifacts created by the build workflow can only be downloaded by GitHub users and are automatically deleted after 90 days. Putting them into a release allows everyone to download them.
Before merging this:
Create a latest-dev tag on the dev branch.
Create a pre-release release for the latest-dev tag.
The new dev-release workflow, will:
build the mod (as it is currently doing in the build workflow)
prefix the artifact zip with date and time (UTC)
find the release associated with the latest-dev tag
attach the artifact zip to the release assets
move the latest-dev tag to the commit the workflow runs for (so to the latest commit on dev).
Because the current build artifacts created by the
build
workflow can only be downloaded by GitHub users and are automatically deleted after 90 days. Putting them into a release allows everyone to download them.Before merging this:
latest-dev
tag on thedev
branch.latest-dev
tag.The new
dev-release
workflow, will:build
workflow)latest-dev
taglatest-dev
tag to the commit the workflow runs for (so to the latest commit ondev
).Example: https://github.com/Istador/SuperMarioOdysseyOnline/releases/tag/latest-dev