From dc0520eec5ba7a187e7c7eee788fd24ede5ef13e Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 8 Apr 2021 02:29:38 -0700 Subject: [PATCH] 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`). --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 43868a9..7be3edd 100644 --- a/README.md +++ b/README.md @@ -218,7 +218,7 @@ Set to `true` to cause the action to record the compiler warning count for each ## Example usage ```yaml -- uses: arduino/compile-sketches@main +- uses: arduino/compile-sketches@v1 with: fqbn: 'arduino:avr:uno' libraries: |