Skip to content
play-circle

GitHub Action

Setup FluentCI

v5 Latest version

Setup FluentCI

play-circle

Setup FluentCI

Download, install, and setup FluentCI CLI to your path

Installation

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

              

- name: Setup FluentCI

uses: fluentci-io/setup-fluentci@v5

Learn more about this action in fluentci-io/setup-fluentci

Choose a version

About

Setup FluentCI GitHub marketplace

Github Action for FluentCI - a simple CI/CD tool built for developers. With FluentCI you can write your CI/CD pipelines in TypeScript and run them on your local machine, on your own server or in the cloud.

Usage

Basic usage:

name: fluentci

on:
  push:
    branches:
      - main

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: FluentCI
        uses: fluentci-io/setup-fluentci@v5
        with:
          dagger-version: 0.12.0
      - name: Run Hello World
        run: fluentci run base_pipeline

With a WebAssembly Plugin:

name: Hello

on:
  push:
    branches:
      - main

jobs:
  setup-fluentci:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Setup FluentCI
        uses: fluentci-io/setup-fluentci@v5
        with:
          wasm: true # set to true so WebAssembly plugins can be used
          plugin: base # Name of the Wasm Plugin to use without the .wasm extension, 
          # will be downloaded from the registry https://pkg.fluentci.io

          # Arguments to pass to the plugin: function_name args
          args: |
            hello Tsiry Sandratraina
            hello again

Inputs

Key Description Default
dagger-version The version of the Dagger Engine to use 0.12.0
engine-version The version of the FluentCI Engine to use
pipeline The pipeline (module) to execute
plugin Alias for pipeline
module Alias for pipeline
extension Alias for pipeline
wasm Run the WebAssembly version of the pipeline (if available)
args Arguments to pass to the pipeline
working-directory The working directory to run the pipeline .

License

The scripts and documentation in this project are released under the MIT License