Skip to content

Commit 9edb02e

Browse files
authored
Merge pull request #4 from per1234/update-docs
Fix typos and outdated documentation
2 parents 2b78b1e + 01037b3 commit 9edb02e

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# libraries/compile-examples action
1+
# arduino/compile-sketches action
22

33
This action checks whether Arduino sketches compile and produces a report of data from the compilations.
44

@@ -110,15 +110,15 @@ Set to true to show verbose output in the log. Default `false`
110110

111111
### `sketches-report-path`
112112

113-
Path in which to save a JSON formatted file containing data from the sketch compilations. Should be used only to store reports. Relative paths are relative to [`GITHUB_WORKSPACE`](https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables). The folder will be created if it doesn't already exist. This report is used by the `arduino/actions/libraries/report-size-deltas` and `arduino/actions/libraries/report-size-trends` actions. Default `"size-deltas-reports"`.
113+
Path in which to save a JSON formatted file containing data from the sketch compilations. Should be used only to store reports. Relative paths are relative to [`GITHUB_WORKSPACE`](https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables). The folder will be created if it doesn't already exist. This report is used by the `arduino/report-size-deltas` and `arduino/report-size-trends` actions. Default `"size-deltas-reports"`.
114114

115115
### `github-token`
116116

117117
GitHub access token used to get information from the GitHub API. Only needed for private repositories with `enable-deltas-report` set to `true`. It will be convenient to use [`${{ secrets.GITHUB_TOKEN }}`](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token). Default `""`.
118118

119119
### `enable-deltas-report`
120120

121-
Set to `true` to cause the action to determine the change in memory usage and compiler warnings of the compiled sketches. If the workflow is triggered by a `pull_request` event, the comparison is between the pull request branch and the tip of the pull request's base branch. If the workflow is triggered by a `push` event, the comparison is between the pushed commit and its immediate parent. The deltas will be displayed in the GitHub Actions build log. This may be used with the [`arduino/actions/libraries/report-size-deltas` action](https://github.com/arduino/actions/tree/master/libraries/report-size-deltas). Default `false`.
121+
Set to `true` to cause the action to determine the change in memory usage and compiler warnings of the compiled sketches. If the workflow is triggered by a `pull_request` event, the comparison is between the pull request branch and the tip of the pull request's base branch. If the workflow is triggered by a `push` event, the comparison is between the pushed commit and its immediate parent. The deltas will be displayed in the GitHub Actions build log. This may be used with the [`arduino/report-size-deltas` action](https://github.com/arduino/report-size-deltas). Default `false`.
122122

123123
### `enable-warnings-report`
124124

@@ -128,7 +128,7 @@ Set to `true` to cause the action to record the compiler warning count for each
128128

129129
Only compiling examples:
130130
```yaml
131-
- uses: arduino/actions/libraries/compile-examples@master
131+
- uses: arduino/compile-sketches@master
132132
with:
133133
fqbn: 'arduino:avr:uno'
134134
libraries: |
@@ -139,12 +139,12 @@ Only compiling examples:
139139

140140
Storing the sketches compilation report report as a [workflow artifact](https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts):
141141
```yaml
142-
- uses: arduino/actions/libraries/compile-examples@master
142+
- uses: arduino/compile-sketches@master
143143
with:
144144
enable-deltas-report: true
145145
- if: github.event_name == 'pull_request'
146146
uses: actions/upload-artifact@v1
147147
with:
148148
name: size-deltas-reports
149-
path: size-delta-reports
149+
path: size-deltas-reports
150150
```

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: 'Arduino Libraries - Compile Examples'
2-
description: 'Compiles all the examples included in the library'
1+
name: 'Compile Arduino Sketches'
2+
description: 'Checks whether Arduino sketches will compile and produces a report of data from the compilations'
33
inputs:
44
cli-version:
5-
description: 'Version of arduino-cli to use when builing'
5+
description: 'Version of Arduino CLI to use when building'
66
default: 'latest'
77
fqbn:
88
description: 'Full qualified board name, with Boards Manager URL if needed'
@@ -14,7 +14,7 @@ inputs:
1414
description: 'YAML-format list of platform dependencies to install'
1515
default: ''
1616
sketch-paths:
17-
description: 'List of paths containing sketches to compile.'
17+
description: 'YAML-format list of paths containing sketches to compile.'
1818
default: '- examples'
1919
verbose:
2020
description: 'Set to true to show verbose output in the log'
@@ -23,7 +23,7 @@ inputs:
2323
description: 'Path in which to save a JSON formatted file containing data from the sketch compilations'
2424
default: 'size-deltas-reports'
2525
github-token:
26-
description: 'GitHub access token used to get information from the GitHub API. Only needed if you are using the size deltas report feature with a private repository.'
26+
description: 'GitHub access token used to get information from the GitHub API. Only needed if you are using the deltas report feature in a private repository.'
2727
default: ''
2828
enable-deltas-report:
2929
description: 'Set to true to cause the action to determine the change in memory usage and compiler warnings of the compiled sketches between the head and base refs of a PR and the immediate parent commit of a push'

0 commit comments

Comments
 (0)