Skip to content

A Github Action to setup the butler command line tool for itch.io content authoring

License

Notifications You must be signed in to change notification settings

buildalon/setup-butler

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-butler

Discord marketplace validate

A Github Action to setup the butler command line tools for itch.io content authoring.

How to use

workflow

jobs:
  validate:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [macos-latest, windows-latest, ubuntu-latest]
    steps:
      # download and setup butler
      - uses: buildalon/setup-butler@v1
        with:
          api-key: ${{ secrets.BUTLER_API_KEY }}
      # run butler commands
      - name: Upload to itch.io
        # https://itch.io/docs/butler/pushing.html
        run: butler push directory user/game:channel
        env:
          BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }}

inputs

name description required
api-key An api key for your itch.io account true
version The version of butler to install. Defaults to latest. false
self-update Update butler to the latest version. Defaults to true. false

outputs

environment variables

  • BUTLER_PATH: The butler directory location.
  • BUTLER_DIR: The directory where butler is installed.