Skip to content

Commit 95c09aa

Browse files
committed
feat: 🎸 use free path version syntax for api variable
BREAKING CHANGE: 🧨 changes variable names EX. from angular_version: 8.0.0 to angular_version: 8.0.x
1 parent 41b2b5b commit 95c09aa

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
- uses: actions/checkout@v2
2222
- uses: ./
2323
with:
24-
angular_version: 8.0.0
24+
angular_version: 8.0.x

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Create a workflow `.yml` file in your repositories `.github/workflows` directory
1414

1515
### Inputs
1616

17-
- `angular_version`: The base Angular version used to match the dependency version. Ex: 8.0.0, 10.0.14. To check the full list of supported versions, see [supported versions](###Supported-Angular-versions).
17+
- `angular_version`: The base Angular version used to match the dependency version. Ex: 8.0.x, 10.0.x. To check the full list of supported versions, see [supported versions](###Supported-Angular-versions).
1818

1919
### Example workflow - match Angular versions
2020

@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
matrix:
3636
node-version: [10.x, 12.x, 14.x]
37-
angular-version: [8.0.0, 9.0.0, 10.0.0]
37+
angular-version: [8.0.x, 9.0.x, 10.0.x]
3838

3939
steps:
4040
- uses: actions/checkout@v2
@@ -59,10 +59,10 @@ This example use the github matrix to build, lint and test your code against dif
5959

6060
At the moment this actions supports a limited set of Angular versions listed below.
6161

62-
- 8.0.0
63-
- 8.1.0
64-
- 9.0.0
65-
- 10.0.0
62+
- 8.0.x
63+
- 8.1.x
64+
- 9.0.x
65+
- 10.0.x
6666

6767
## Contributing
6868

dist/index.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/angular-versions.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {PackageJsonVersion} from './types/package-json-version';
22

33
export const versions = new Map<string, PackageJsonVersion>([
44
[
5-
'8.0.0',
5+
'8.0.x',
66
{
77
dependencies: {
88
'@angular/animations': '~8.0.3',
@@ -31,7 +31,7 @@ export const versions = new Map<string, PackageJsonVersion>([
3131
}
3232
],
3333
[
34-
'8.1.0',
34+
'8.1.x',
3535
{
3636
dependencies: {
3737
'@angular/animations': '~8.1.0',
@@ -60,7 +60,7 @@ export const versions = new Map<string, PackageJsonVersion>([
6060
}
6161
],
6262
[
63-
'9.0.0',
63+
'9.0.x',
6464
{
6565
dependencies: {
6666
'@angular/animations': '~9.0.7',
@@ -89,7 +89,7 @@ export const versions = new Map<string, PackageJsonVersion>([
8989
}
9090
],
9191
[
92-
'10.0.0',
92+
'10.0.x',
9393
{
9494
dependencies: {
9595
'@angular/animations': '~10.0.14',

0 commit comments

Comments
 (0)