Migration guide for arduino/actions/libraries/report-size-deltas
users
Action name change
With the move to this dedicated repository from its provisional home in the experimental repository, the action name has changed. This requires a change to workflows using the action.
Change:
uses: arduino/actions/libraries/report-size-deltas@master
to:
uses: arduino/report-size-deltas@v1
(BREAKING) Default workflow artifact name change
(#7) The default value of the size-deltas-reports-artifact-name
input was changed from "size-deltas-reports" to "sketches-reports". If your workflow is relying on this default value it will be necessary to update the name
input of the step in the sketch compilation workflow that uses the actions/upload-artifact
action to upload the sketches report to a workflow artifact.
Change:
- uses: actions/upload-artifact@v2
with:
name: size-deltas-reports
to:
- uses: actions/upload-artifact@v2
with:
name: sketches-reports
Input name change
(#5) In light of the added support for consuming sketches reports from local path sources in addition to the original workflow artifact sources, the input name was changed from size-deltas-reports-artifact-name
to the more appropriate sketches-reports-source
.
The previous input name is still supported for backwards compatibility, so this is an optional update. However, the previous input name is now deprecated and use of it will result in a warning to that effect in the workflow run logs, so it is recommended to update any workflows that are using this input.
Change:
- uses: arduino/report-size-deltas@v1
with:
size-deltas-reports-artifact-name: sketches-reports
to:
- uses: arduino/report-size-deltas@v1
with:
sketches-reports-source: sketches-reports