Skip to content

singularityhub/install-singularity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install Singularity Action

https://www.sylabs.io/guides/latest/user-guide

Usage

The action has the following variables:

Name Description Required Default
singularity-version release version of sylabs/singularity to install false 3.10.4
go-version version or range to provide to actions/setup-go false '>=1.17.0'
cleanup cleanup archive extracted to /tmp false true

And you can use as follows:

name: Build Singularity
on:
  pull_request: []

jobs:
  install-singularity:
    name: Install Singularity
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3
      - name: Singularity install with defaults
        uses: singularityhub/install-singularity@main

  install-singularity-custom:
    name: Install Singularity Custom
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3
      - name: Singularity install with defaults
        uses: singularityhub/install-singularity@main
        with:
          singularity-version: '3.10.1'
          go-version: '1.18.0'

See the action.yaml for details.

About

Action to install Singlarity optimized for simplicity.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project