https://github.com/singularityhub/install-singularity
Action to install Singlarity optimized for simplicity.
https://github.com/singularityhub/install-singularity
action install singularity
Last synced: about 1 year ago
JSON representation
Action to install Singlarity optimized for simplicity.
- Host: GitHub
- URL: https://github.com/singularityhub/install-singularity
- Owner: singularityhub
- License: mit
- Created: 2022-12-08T03:31:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-15T04:40:41.000Z (over 2 years ago)
- Last Synced: 2024-03-15T06:45:39.123Z (over 2 years ago)
- Topics: action, install, singularity
- Homepage:
- Size: 72.3 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Install Singularity Action

## Usage
The action has the following variables:
| Name | Description | Required | Default |
|------|-------------|----------|---------|
|singularity-version | release version of [sylabs/singularity](https://github.com/sylabs/singularity/releases/) to install | false | 3.10.4 |
|go-version | version or range to provide to [actions/setup-go](https://github.com/actions/setup-go) | false | '>=1.17.0' |
|cleanup| cleanup archive extracted to /tmp | false | true |
And you can use as follows:
```yaml
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](action.yaml) for details.