Generic Assets
This workflow is not tailored to any specific framework or bundler. It’s a generic workflow that can be used to release any type of asset, such as executables, installers, or app bundles.
If your app is written with Tauri v2, v1, or Packager.
Versioning
Make sure to adjust the version number before reaching this workflow during your CI process. This step can read a config.json
file and extract the version number from it.
Workflow Triggers
For testing and developing purposes it may be useful to set a workflow_dispatch
trigger, so the workflow can be initiated from the GitHub UI.
Once testing is done, it’s recommended to use Continuous Deployment.
Draft Release
The release draft command will create a new entry in your CrabNebula project, but it won’t upload any assets just yet. It uses the crabnebula-dev/cloud-release action, which requires CN_API_KEY
to be defined within your GitHub Action scope.
Upload Assets to Cloud
Once your app is built (you must write this step according yo your own framework and targets), we push all assets to the Cloud project. At this point, you will be able to see the binaries showing up in your dashboard. But the release is not published yet!
Publishing
At this point, the heavy lifting has been done and it’s time ot publish the release. If you don’t want to autopublish, you can do it manually from the Cloud dashboard.