Skip to content

GitHub Action for automatically attaching the mod to a release#96

Open
cloudmaker97 wants to merge 1 commit intoloki79uk:mainfrom
cloudmaker97:gh-actions-assets-on-release
Open

GitHub Action for automatically attaching the mod to a release#96
cloudmaker97 wants to merge 1 commit intoloki79uk:mainfrom
cloudmaker97:gh-actions-assets-on-release

Conversation

@cloudmaker97
Copy link
Copy Markdown

This pull request introduces a new GitHub Actions workflow to automate the process of attaching a mod asset to a release. The workflow is triggered when a release is published by a maintainer, and includes steps to create a zip archive of the release and upload it as an asset.

Example:

  • A commit has been marked as new release, a maintainer creates a release on GitHub
  • The release is published, the workflow starts then
  • The GitHub actions are running and attaches the mod automatically to the release (duration ~15s)

Key changes:

  • .github/workflows/assets-on-release.yml: Added a new workflow that triggers on release publication, creates a zip archive of the release, retrieves the latest release information, and uploads the asset file to the release.

Testing:

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.

1 participant