Skip to content

Commit 7d4ef33

Browse files
committed
Update README.md
1 parent 8015c43 commit 7d4ef33

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,25 @@ __e.g.:__
2626

2727
__`github-token`__ (*only needed if `fpm-version` is `'latest'` or not specified*), an access token used to query the latest version of `fpm`. Set to `${{ secrets.GITHUB_TOKEN }}` to use the existing github actions token.
2828

29-
__`fpm-version`__ (*optional,default:*`'latest'`) the tag corresponding a Github release from which to fetch the `fpm` binary.
30-
- If set to `'latest'` (_default_) then the latest `fpm` release at [fortran-lang/fpm](https://github.com/fortran-lang/fpm/releases/latest) will be substituted. `github-token` must be provided if `fpm-version` is `'latest'`.
29+
__`fpm-version`__ (*optional, default:* see below) the tag corresponding to a Github release from which to fetch the `fpm` binary.
30+
- If set to `'latest'` then the latest `fpm` release at [fortran-lang/fpm](https://github.com/fortran-lang/fpm/releases/latest) will be substituted. `github-token` must be provided if `fpm-version` is `'latest'`.
3131

3232
__`fpm-repository`__ (*optional, default:* `https://github.com/fortran-lang/fpm`) which Github fork to fetch release binaries from.
33+
34+
### Default `fpm-version` for Each Release
35+
36+
Starting with `v7`, `setup-fpm` is pinpointed to `fpm` version `0.11.0` to ensure compatibility with newer features and changes.
37+
Previous versions default to the latest stable release, which is fetched automatically when `fpm-version` is set to `'latest'`.
38+
39+
| Release Version | Default `fpm-version` |
40+
|-----------------|-----------------------|
41+
| v1 | latest |
42+
| v2 | latest |
43+
| v3 | latest |
44+
| v4 | latest |
45+
| v5 | latest |
46+
| v6.0.1 | latest |
47+
| v6 | latest |
48+
| v6.1.0 | latest |
49+
| v7 | 0.11.0 |
50+

0 commit comments

Comments
 (0)