Skip to content

Commit dc0520e

Browse files
committed
Use major version refs in example snippet
Previously, due to the lack of a release, the only option was to use the default branch name for the action ref. Using release versions provides a more stable experience for the ordinary users of these actions and also eases ongoing development work on the actions. Use of the major version ref will cause the workflow to benefit from ongoing development to the action at each patch or minor release up until such time as a new major release is made, at which time the user will be given the opportunity to evaluate whether any changes to the workflow are required by the breaking change that triggered the major release before manually updating the major ref (e.g., `uses: arduino/compile-sketches@v2`).
1 parent b8a778e commit dc0520e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Set to `true` to cause the action to record the compiler warning count for each
218218
## Example usage
219219

220220
```yaml
221-
- uses: arduino/compile-sketches@main
221+
- uses: arduino/compile-sketches@v1
222222
with:
223223
fqbn: 'arduino:avr:uno'
224224
libraries: |

0 commit comments

Comments
 (0)