Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gameflow-setup-action

GitHub release (latest SemVer) License: MIT

A GitHub Action that downloads and installs the GameFlow CLI on your runner, with optional API key authentication. Use it as a first step in any workflow that deploys or interacts with GameFlow.


Prerequisites

  • A GitHub Actions runner (Linux, macOS, or Windows with WSL)
  • curl and sh available on the runner (present by default on all GitHub-hosted runners)
  • A GameFlow account and API key if you need authenticated operations

Usage

Minimal — install only, no authentication

- uses: GameFlowGG/gameflow-setup-action@v1

With authentication

- uses: GameFlowGG/gameflow-setup-action@v1
  with:
    api-key: ${{ secrets.GAMEFLOW_API_KEY }}

Full workflow — install, authenticate, then deploy

name: Deploy to GameFlow

on:
  push:
    branches:
      - main

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: GameFlowGG/gameflow-setup-action@v1
        with:
          api-key: ${{ secrets.GAMEFLOW_API_KEY }}

      - uses: GameFlowGG/gameflow-deploy-action@v1
        with:
          project: my-game

Inputs

Name Description Required Default
version CLI version to install. Reserved for future use — see Known Limitations below. No latest
api-key GameFlow API key. When provided, the action runs gameflow login --api-key <key> after install. The key is automatically masked in all log output. No

Known Limitations

Version pinning is not yet supported

The version input is accepted for forward-compatibility but has no effect in the current release. The installer script at https://install.gameflow.gg always installs the latest available CLI release, regardless of the value passed.

Version pinning (e.g. version: "1.4.2") will be implemented in a future release once the installer script supports it.

Workaround: Pin the version of this action itself (e.g. @v1.2.0) to freeze the workflow, and monitor the GameFlow CLI releases for breaking changes.


Versioning

This action follows Semantic Versioning.

Reference Meaning
@v1 Latest v1.x.x release — receives non-breaking updates automatically
@v1.2.0 Exact release — pinned, never changes

Breaking changes (removed inputs, changed behavior, renamed outputs) always result in a new major version. You will never be broken by updating within the same major version (e.g. v1v1.3.0).


Documentation

Full GameFlow documentation is available at https://docs.gameflow.gg.

AI Development Setup

This repo uses Claude Code as the primary AI development tool. Install the required plugins once per machine before contributing:

claude plugin marketplace add anthropics/claude-plugins-official
claude plugin install superpowers@claude-plugins-official
claude plugin install security-guidance@claude-plugins-official
claude plugin install code-review@claude-plugins-official
claude plugin install feature-dev@claude-plugins-official

See CLAUDE.md for when each plugin is used.

About

A GitHub Action that downloads and installs the GameFlow CLI on your runner, with optional API key authentication.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors