Skip to content
moon

GitHub Action

Run command in a Flox environment

v1.0.0 Latest version

Run command in a Flox environment

moon

Run command in a Flox environment

Runs a command in the context of the Flox environment

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Run command in a Flox environment

uses: flox/[email protected]

Learn more about this action in flox/activate-action

Choose a version

Developer environments you can take with you

Discourse   |   Documentation   |   Blog   |   Twitter

GitHub PRs Welcome GitHub tag (latest by date)

Runs command in the context of Flox environment.

⭐ Getting Started

Create .github/workflows/ci.yml in your repo with the following contents:

name: "CI"

on:
  pull_request:
  push:

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:

    - name: Checkout
      uses: actions/checkout@v3

    - name: Install flox
      uses: flox/install-flox-action@v2

    - name: Build website
      uses: flox/activate-action@v1
      with:
        command: npm run build

📫 Have a question? Want to chat? Ran into a problem?

We are happy to welcome you to our Discourse forum and answer your questions! You can always reach out to us directly via the flox twitter account or chat to us directly on Matrix or Discord.

🤝 Found a bug? Missing a specific feature?

Feel free to file a new issue with a respective title and description on the the flox/activate-action repository. If you already found a solution to your problem, we would love to review your pull request!

🪪 License

The activate-action is licensed under the MIT. See LICENSE.