QuestionQ6
Author and manage workflowsYou need to publish a release, including assets, in GitHub Actions. The solution must satisfy GitHub support requirements.
What should you do?
- A Run actions/upload-artifact followed by actions/create-release, and then actions/upload-release-asset.
- B Run gh release create in a script step to create a release and attach the assets after tagging a commit.
- C Use a GitHub Marketplace action that creates a release and uploads the assets in a single step.
- D Run git push --tags to automatically trigger GitHub to create a release that includes all the project files.
Community Discussion