Skip to content

Commit 23a1eb6

Browse files
authored
Update @actions package support to latest versions (#250)
- Update [`@actions/artifact`](https://www.npmjs.com/package/@actions/artifact) support to `5.0.2` - Update [`@actions/cache`](https://www.npmjs.com/package/@actions/cache) support to `5.0.3` - Update [`@actions/core`](https://www.npmjs.com/package/@actions/core) support to `2.0.2` - Update [`@actions/github`](https://www.npmjs.com/package/@actions/github) support to `7.0.0` Primarily this involves updating transitive dependencies for better Node.js support. Outside of that, there are some minor updates. Refer to the [`@actions/toolkit` repository](https://github.com/actions/toolkit) for mode details.
2 parents e2d1b56 + dd59bad commit 23a1eb6

49 files changed

Lines changed: 5893 additions & 2219 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ INPUT_MILLISECONDS=2400
5555
# For more information, see:
5656
# https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
5757

58+
######################################################################
59+
# Sets the maximum number of artifacts that will be returned in a #
60+
# single list operation. Defaults to 1000. #
61+
######################################################################
62+
# ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT=1000
63+
5864
######################################################################
5965
# Enable/disable step debug logging. Default is normally `false`, #
6066
# but it is set to `true` for local debugging purposes. #

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## v7
4+
5+
Update support for each of the following packages to the latest versions:
6+
7+
- [`@actions/artifact`](https://www.npmjs.com/package/@actions/artifact):
8+
`5.0.2`
9+
- [`@actions/cache`](https://www.npmjs.com/package/@actions/cache): `5.0.3`
10+
- [`@actions/core`](https://www.npmjs.com/package/@actions/core): `2.0.2`
11+
- [`@actions/github`](https://www.npmjs.com/package/@actions/github): `7.0.0`
12+
313
## v6
414

515
Adds support for the `@actions/cache` package, allowing for local caching of

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,20 @@ actions can be run directly on your workstation.
1717
The following table tracks the versions of the GitHub Actions Toolkit that are
1818
currently implemented by this tool.
1919

20-
| Package | Version |
21-
| ---------------------------------------------------------------------- | -------- |
22-
| [`@actions/artifact`](https://www.npmjs.com/package/@actions/artifact) | `2.3.2` |
23-
| [`@actions/core`](https://www.npmjs.com/package/@actions/core) | `1.11.1` |
24-
| [`@actions/github`](https://www.npmjs.com/package/@actions/github) | `6.0.1` |
20+
| Package | Version |
21+
| ---------------------------------------------------------------------- | ------- |
22+
| [`@actions/artifact`](https://www.npmjs.com/package/@actions/artifact) | `5.0.2` |
23+
| [`@actions/cache`](https://www.npmjs.com/package/@actions/cache) | `5.0.3` |
24+
| [`@actions/core`](https://www.npmjs.com/package/@actions/core) | `2.0.2` |
25+
| [`@actions/github`](https://www.npmjs.com/package/@actions/github) | `7.0.0` |
2526

2627
## Changelog
2728

2829
See the [CHANGELOG](./CHANGELOG.md) for a complete list of changes.
2930

3031
## Node.js Version Support
3132

32-
This tool is currently tested against **Node.js versions 20 and 22**. It is not
33+
This tool is currently tested against **Node.js versions 22 and 24**. It is not
3334
guaranteed to work with other versions at this time.
3435

3536
## Package Manager Support

__fixtures__/javascript-esm/no-import/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"version": "0.0.0",
55
"type": "module",
66
"engines": {
7-
"node": ">=20"
7+
"node": ">=24"
88
},
99
"dependencies": {
10-
"@actions/core": "^1.10.1"
10+
"@actions/core": "^2.0.2"
1111
},
1212
"devDependencies": {}
1313
}

__fixtures__/javascript-esm/success/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"version": "0.0.0",
55
"type": "module",
66
"engines": {
7-
"node": ">=20"
7+
"node": ">=24"
88
},
99
"dependencies": {
10-
"@actions/core": "^1.10.1"
10+
"@actions/core": "^2.0.2"
1111
},
1212
"devDependencies": {}
1313
}

__fixtures__/javascript/no-export/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"description": "GitHub Actions JavaScript template",
44
"version": "0.0.0",
55
"engines": {
6-
"node": ">=20"
6+
"node": ">=24"
77
},
88
"dependencies": {
9-
"@actions/core": "^1.10.1"
9+
"@actions/core": "^2.0.2"
1010
},
1111
"devDependencies": {}
1212
}

__fixtures__/javascript/no-import/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"description": "GitHub Actions JavaScript template",
44
"version": "0.0.0",
55
"engines": {
6-
"node": ">=20"
6+
"node": ">=24"
77
},
88
"dependencies": {
9-
"@actions/core": "^1.10.1"
9+
"@actions/core": "^2.0.2"
1010
},
1111
"devDependencies": {}
1212
}

__fixtures__/javascript/success/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"description": "GitHub Actions JavaScript template",
44
"version": "0.0.0",
55
"engines": {
6-
"node": ">=20"
6+
"node": ">=24"
77
},
88
"dependencies": {
9-
"@actions/core": "^1.10.1"
9+
"@actions/core": "^2.0.2"
1010
},
1111
"devDependencies": {}
1212
}

__fixtures__/typescript-esm/no-export/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"version": "0.0.0",
55
"type": "module",
66
"engines": {
7-
"node": ">=20"
7+
"node": ">=24"
88
},
99
"dependencies": {
10-
"@actions/core": "^1.10.1"
10+
"@actions/core": "^2.0.2"
1111
},
1212
"devDependencies": {
13-
"@types/node": "^20.14.7",
13+
"@types/node": "^22.14.1",
1414
"ts-node": "^10.9.2",
15-
"typescript": "^5.5.2"
15+
"typescript": "^5.6.3"
1616
}
1717
}

__fixtures__/typescript-esm/no-import/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"version": "0.0.0",
55
"type": "module",
66
"engines": {
7-
"node": ">=20"
7+
"node": ">=24"
88
},
99
"dependencies": {
10-
"@actions/core": "^1.10.1"
10+
"@actions/core": "^2.0.2"
1111
},
1212
"devDependencies": {
1313
"@types/node": "^20.14.7",
1414
"ts-node": "^10.9.2",
15-
"typescript": "^5.5.2"
15+
"typescript": "^5.6.3"
1616
}
1717
}

0 commit comments

Comments
 (0)