Skip to content

Install Red-DiscordBot

Installs Red-DiscordBot from a previously built artifact when provided, or falls back to PyPI when no artifact is available.

Inputs

Input Required Default Description
artifact_name Artifact name passed to actions/download-artifact; when blank the installer skips the download step and installs the latest PyPI release instead.

Usage

Install the artifact produced earlier in the workflow (ben-cogs/.github/workflows/check-cogs.yml):

- name: Install Red-DiscordBot
  uses: nntin/d-flows/actions/install-red-discordbot@v1
  with:
    artifact_name: ${{ env.BUILD_ARTIFACT_NAME }}