Skip to content

Commit c32f771

Browse files
masesdevelopersmariomastrodicasadependabot[bot]
authored
Update to Node 20 (#14)
* Intermediate * chore(deps): bump @actions/github from 5.1.1 to 6.0.0 Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 5.1.1 to 6.0.0. - [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github) --- updated-dependencies: - dependency-name: "@actions/github" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Mario Mastrodicasa <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 69676d6 commit c32f771

File tree

7 files changed

+284
-221
lines changed

7 files changed

+284
-221
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
os: [ubuntu-latest, windows-latest, macos-latest]
2121
steps:
2222
- uses: actions/checkout@v4
23-
- name: Setup Node.JS 16
23+
- name: Setup Node.JS 20
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 16.x
26+
node-version: 20.x
2727
cache: npm
2828
- run: npm install
2929
- run: npm ci

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757

5858
- uses: actions/setup-node@v4
5959
with:
60-
node-version: '16'
60+
node-version: '20'
6161

6262
- name: Install dependencies
6363
run: |

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<a href="https://github.com/masesgroup/retrieve-changed-files/actions"><img alt="masesgroup/retrieve-changed-files status" src="https://github.com/masesgroup/retrieve-changed-files/workflows/Test/badge.svg"></a>
33
</p>
44

5-
# Get All Changed Files
5+
# Retrieve All Changed Files
66

7-
Get all of the files changed/modified in a pull request or push's commits.
8-
You can choose to get all changed files, only added files, only modified files, only removed files, only renamed files, or all added and modified files.
7+
Retrieve all of the files changed/modified in a pull request or push's commits.
8+
You can choose to retrieve all changed files, only added files, only modified files, only removed files, only renamed files, or all added and modified files.
99
These outputs are available via the `steps` output context.
1010
The `steps` output context exposes the output names `all`, `added`, `modified`, `removed`, `renamed`, and `added_modified`.
1111

@@ -24,29 +24,29 @@ See [action.yml](action.yml)
2424
2525
# Scenarios
2626
27-
- [Get all changed files as space-delimited](#get-all-changed-files-as-space-delimited)
28-
- [Get all added and modified files as CSV](#get-all-added-and-modified-files-as-csv)
29-
- [Get all removed files as JSON](#get-all-removed-files-as-json)
27+
- [Retrieve all changed files as space-delimited](#retrieve-all-changed-files-as-space-delimited)
28+
- [Retrieve all added and modified files as CSV](#retrieve-all-added-and-modified-files-as-csv)
29+
- [Retrieve all removed files as JSON](#retrieve-all-removed-files-as-json)
3030
31-
## Get all changed files as space-delimited
31+
## Retrieve all changed files as space-delimited
3232
3333
If there are any files with spaces in them, then this method won't work and the step will fail.
3434
Consider using one of the other formats if that's the case.
3535
3636
```yaml
3737
- id: files
38-
uses: masesgroup/retrieve-changed-files@v2
38+
uses: masesgroup/retrieve-changed-files@v3
3939
- run: |
4040
for changed_file in ${{ steps.files.outputs.all }}; do
4141
echo "Do something with this ${changed_file}."
4242
done
4343
```
4444
45-
## Get all added and modified files as CSV
45+
## Retrieve all added and modified files as CSV
4646
4747
```yaml
4848
- id: files
49-
uses: masesgroup/retrieve-changed-files@v2
49+
uses: masesgroup/retrieve-changed-files@v3
5050
with:
5151
format: 'csv'
5252
- run: |
@@ -56,11 +56,11 @@ Consider using one of the other formats if that's the case.
5656
done
5757
```
5858
59-
## Get all removed files as JSON
59+
## Retrieve all removed files as JSON
6060
6161
```yaml
6262
- id: files
63-
uses: masesgroup/retrieve-changed-files@v2
63+
uses: masesgroup/retrieve-changed-files@v3
6464
with:
6565
format: 'json'
6666
- run: |
@@ -81,4 +81,4 @@ $ yarn all
8181

8282
# License
8383

84-
The scripts and documentation in this project are released under the [MIT License](LICENSE)
84+
The scripts and documentation in this project are released under the [MIT License](LICENSE)

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ branding:
55
icon: file
66
color: purple
77
runs:
8-
using: node16
8+
using: node20
99
main: dist/index.js
1010
inputs:
1111
token:

0 commit comments

Comments
 (0)