Skip to content

Commit 41cc246

Browse files
authored
Update README.md
1 parent a1dad46 commit 41cc246

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,31 @@
1-
# setup-fpm
1+
# setup-fpm
2+
3+
__GitHub Action to setup the [Fortran Package Manager](https://github.com/fortran-lang/fpm) on Ubuntu, MacOS and Windows.__
4+
5+
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6+
[![Github actions](https://github.com/LKedward/setup-fpm/workflows/.github/workflows/test-workflow.yml/badge.svg?event=push)](https://github.com/LKedward/setup-fpm/actions)
7+
8+
9+
## Usage
10+
11+
```yaml
12+
- uses: lkedward/setup-fpm@v1
13+
```
14+
15+
This will download the latest `fpm` version to the CI machine and add it to the path.
16+
17+
`fpm` can therefore be called from the command line as usual in your workflows:
18+
19+
__e.g.:__
20+
```yaml
21+
- run: fpm run
22+
```
23+
24+
## Options
25+
26+
__`use-bootstrap`__ (*optional,default:*`false`) whether to fetch and use the legacy 'bootstrap' implementation
27+
28+
__`fpm-version`__ (*optional*) the tag corresponding a Github release from which to fetch the `fpm` binary.
29+
If omitted, the latest `fpm` release at [fortran-lang/fpm](https://github.com/fortran-lang/fpm/releases/latest) will be substituted.
30+
31+
__`fpm-repository`__ (*optional, default:* `https://github.com/fortran-lang/fpm`) which Github fork to fetch release binaries from.

0 commit comments

Comments
 (0)