Skip to content

Setup SWIG

Actions
Download and install a version of SWIG
v3
Latest
Star (2)

setup-swig

This actions step downloads and installs a version of SWIG.

Usage

For the latest version on the main branch:

name: "my-project"
on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: mmomtchev/setup-swig@v1

      - name: Verify
        run: swig -version

For SWIG JSE:

name: "my-project"
on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: mmomtchev/setup-swig@v1
        with:
          branch: jse

      - name: Verify
        run: swig -version

Specific version:

name: "my-project"
on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: mmomtchev/setup-swig@v1
        with:
          version: v4.1.0

      - name: Verify
        run: swig -version

Options

  version:
    description: 'Version to install'
    default: 'latest'
  branch:
    description: 'Branch to install'
    default: 'main'
  cache:
    description: 'Cache builds'
    default: true

See action.yml

Setup SWIG 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

Download and install a version of SWIG
v3
Latest

Setup SWIG 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.