Skip to content

Setup Mint

Actions
This action sets up a Mint programming language
v1.4.0
Latest
Star (11)

Setup Mint

Stand With Ukraine GitHub release functional-tests security linting

This action sets up a Mint programming language.

Supported OS

OS Arch
Windows All
Linux x86_84
Linux arm
macOS x86_84
macOS arm (>= 0.20.0)

Prerequisites

None.

Inputs

- uses: fabasoad/setup-mint-action@v1
  with:
    # (Optional) Mint version. Defaults to the latest version.
    version: "0.21.0"
    # (Optional) If "false" skips installation if mint is already installed. If
    # "true" installs mint in any case. Defaults to "false".
    force: "false"
    # (Optional) GitHub token that is used to send requests to GitHub API such
    # as downloading asset. Defaults to the token provided by GitHub Actions
    # environment.
    github-token: "${{ github.token }}"

Outputs

Name Description Example
installed Whether mint was installed or not true

Example usage

Workflow configuration

name: Setup Mint

on: push

jobs:
  setup:
    name: Setup
    runs-on: ubuntu-latest
    steps:
      - uses: fabasoad/setup-mint-action@v1
      - name: Run script
        run: mint init test-project

Result

Mint - Initializing a new project
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Creating directory: test-project
⚙ Writing initial files:
  ➔ assets/head.html
  ➔ source/Main.mint
  ➔ tests/Main.mint
  ➔ mint.json
  ➔ .gitignore
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
All done in 292μs!

Setup Mint is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

This action sets up a Mint programming language
v1.4.0
Latest

Setup Mint is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.