This document describes the process for creating a release and publishing a new version of the GitHub Action to the GitHub Marketplace.
- Bump the version in
package.json
. Update any relevant dependencies. - Run
npm install
to regenerate thepackage-lock.json
. - Commit and Git tag these changes. Use
v
followed by the semantic version number, for example:git tag -a v1.0.0
. - Push the changes to the GitHub repository. Test workflows (
test.yml
) will run. Ensure the tests complete successfully. - Merge PRs to the
master
branch. - Tag and create the release on GitHub. To publish the new version to the GitHub Marketplace, ensure the checkbox is selected on the release form page.
New updates to the action can be viewed on the GitHub Marketplace: https://github.com/marketplace/actions/sophos-factory-run-pipeline