Skip to content

Commit a4d9499

Browse files
authored
Merge pull request #12 from per1234/major-ref-examples
Use major version refs in example snippets
2 parents 6162636 + 2700ad9 commit a4d9499

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
build:
7070
runs-on: ubuntu-latest
7171
steps:
72-
- uses: arduino/report-size-deltas@main
72+
- uses: arduino/report-size-deltas@v1
7373
```
7474
7575
This must be used in conjunction with a workflow that runs the [`arduino/compile-sketches`](https://github.com/arduino/compile-sketches) action and uploads the resulting sketches report to a [workflow artifact](https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts):
@@ -80,7 +80,7 @@ jobs:
8080
runs-on: ubuntu-latest
8181
steps:
8282
- uses: actions/checkout@v2
83-
- uses: arduino/compile-sketches@main
83+
- uses: arduino/compile-sketches@v1
8484
with:
8585
enable-deltas-report: true
8686
- uses: actions/upload-artifact@v2
@@ -108,7 +108,7 @@ jobs:
108108
steps:
109109
- uses: actions/checkout@v2
110110
111-
- uses: arduino/compile-sketches@main
111+
- uses: arduino/compile-sketches@v1
112112
with:
113113
fqbn: ${{ matrix.fqbn }}
114114
enable-deltas-report: true
@@ -134,7 +134,7 @@ jobs:
134134
name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
135135
path: ${{ env.SKETCHES_REPORTS_PATH }}
136136
137-
- uses: arduino/report-size-deltas@main
137+
- uses: arduino/report-size-deltas@v1
138138
with:
139139
sketches-reports-source: ${{ env.SKETCHES_REPORTS_PATH }}
140140
```

0 commit comments

Comments
 (0)