-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,31 @@ | ||
# setup-fpm | ||
# setup-fpm | ||
|
||
__GitHub Action to setup the [Fortran Package Manager](https://github.com/fortran-lang/fpm) on Ubuntu, MacOS and Windows.__ | ||
|
||
[](https://opensource.org/licenses/MIT) | ||
[](https://github.com/LKedward/setup-fpm/actions) | ||
|
||
|
||
## Usage | ||
|
||
```yaml | ||
- uses: lkedward/setup-fpm@v1 | ||
``` | ||
This will download the latest `fpm` version to the CI machine and add it to the path. | ||
|
||
`fpm` can therefore be called from the command line as usual in your workflows: | ||
|
||
__e.g.:__ | ||
```yaml | ||
- run: fpm run | ||
``` | ||
|
||
## Options | ||
|
||
__`use-bootstrap`__ (*optional,default:*`false`) whether to fetch and use the legacy 'bootstrap' implementation | ||
|
||
__`fpm-version`__ (*optional*) the tag corresponding a Github release from which to fetch the `fpm` binary. | ||
If omitted, the latest `fpm` release at [fortran-lang/fpm](https://github.com/fortran-lang/fpm/releases/latest) will be substituted. | ||
|
||
__`fpm-repository`__ (*optional, default:* `https://github.com/fortran-lang/fpm`) which Github fork to fetch release binaries from. |