You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,26 @@ __e.g.:__
26
26
27
27
__`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.
28
28
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'`.
31
31
32
32
__`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 `v0.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
+
51
+
Note: `fpm`changed asset naming convention starting version `v0.11.0`. So, the `latest` option will not work anymore with versions of `setup-fpm` prior to `v7`.
0 commit comments