Setup SWIG
ActionsTags
(2)This actions step downloads and installs a version of SWIG.
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
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.