How to build a ROCK with Rockcraft’s GitHub Action#
Within your GitHub repository, make sure you have GitHub Actions enabled.
.github/workflows, open the YAML file where you want the ROCK
build to take place, and add the following steps:
steps: - uses: actions/[email protected] - uses: canonical/craft-actions/[email protected]
Commit and push the changes. This will trigger a new workflow run using
Rockcraft to pack your ROCK based on the
rockcraft.yaml file at your
To learn how to publish this ROCK outside the GitHub build environment and how to pass additional input parameters to this action, please refer to the action’s documentation.