Skip to content

Build Red-DiscordBot

Clones Red-DiscordBot (optionally at a specific commit), builds distributable wheels, and uploads them for downstream jobs.

Inputs

Input Required Default Description
red_commit Commit SHA to check out before building; leave empty to build the default branch head fetched via a shallow clone.
artifact_name Name given to the uploaded artifact in the final step; defaults to 'red-discordbot-build' when not set.

Usage

Build artifact for downstream cog tests (ben-cogs/.github/workflows/check-cogs.yml):

- name: Build Red-DiscordBot
  uses: nntin/d-flows/actions/build-red-discordbot@v1
  with:
    red_commit: ""
    artifact_name: ${{ env.BUILD_ARTIFACT_NAME }}