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
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,13 +62,13 @@ steps:
62
62
63
63
This project uses strict semantic versioning to determine what version of Swift to configure. This differs slightly from the official convention used by Swift.
64
64
65
-
For example, Swift is available as version `5.1` but this will be interpreted as a version _range_ of `5.1.X` where `X` is the latest patch version available for that major and minor version.
65
+
For example, Swift is available as version `5.1` but using this as value for `swift-version` will be interpreted as a version _range_ of `5.1.X` where `X` is the latest patch version available for that major and minor version.
66
66
67
67
68
68
In other words specifying...
69
69
- `"5.1.0"`will resolve to version `5.1`
70
70
- `"5.1"`will resolve to latest patch version (aka `5.1.1`)
71
-
- `"5"`will resolve to latest minor and patch version (aka `5.5`)
71
+
- `"5"`will resolve to latest minor and patch version (aka `5.7`)
72
72
73
73
### Caveats
74
74
@@ -88,6 +88,18 @@ Not:
88
88
swift-version: 5.0
89
89
```
90
90
91
+
## Keeping the action up-to-date
92
+
93
+
You have two options for keeping this action up-to-date: either you define a specific version (like `v1.17.0`) or use the major version tag (like `v1`).
94
+
95
+
### Specific version
96
+
97
+
We recommend using the specific version tag together with [Dependabot](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates) to keep the action up-to-date. That way you will automatically get notifed when the action updates and you can read the changelog directly in the PR opened by dependabot.
98
+
99
+
### Major version tag
100
+
101
+
If you don't plan on keeping tabs on updates or don't want to use Dependabot but still would like to always use the latest version, you can use the main version tag.
0 commit comments