Skip to content

Commit 2352722

Browse files
authored
Update README.md
Add missing `job` property.
1 parent 633a1e7 commit 2352722

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

README.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,22 @@ name: Inject Variables
5454
on:
5555
pull:
5656
jobs:
57-
name: Echo Environment
58-
runs-on: ubuntu-latest
59-
steps:
60-
- name: Inject Variables
61-
uses: lindluni/actions-variable-groups@v1.0.0
62-
with:
63-
org: lindluni
64-
repo: variable-groups
65-
groups: |
66-
projectAlpha/variables # This is a path in the lindluni/variable-groups repository, so all variable group files in the directory will be injected
67-
projectAlpha/variables@main # TSame as above, but references a specific version via branch
68-
projectBeta/variables/nodejs.yml # This is a file in the lindluni/variable-groups repository, so only variable groups in the file will be injected
69-
projectBeta/variables/nodejs.yml@v1.0.0 # Same as above, but references a specific version via tag
70-
projectGamma/variables/golang.yml # This is a file in the lindluni/variable-groups repository, so only variable groups in the file will be injected
71-
projectGamma/variables/golang.yml@9969a43ca477571f91073abf66dfceaf1d3d069a # Same as above, but references a specific version via commit
72-
- name: Print Environment
73-
run: env | sort
57+
job:
58+
name: Echo Environment
59+
runs-on: ubuntu-latest
60+
steps:
61+
- name: Inject Variables
62+
uses: lindluni/actions-variable-groups@v1.0.0
63+
with:
64+
org: lindluni
65+
repo: variable-groups
66+
groups: |
67+
projectAlpha/variables # This is a path in the lindluni/variable-groups repository, so all variable group files in the directory will be injected
68+
projectAlpha/variables@main # TSame as above, but references a specific version via branch
69+
projectBeta/variables/nodejs.yml # This is a file in the lindluni/variable-groups repository, so only variable groups in the file will be injected
70+
projectBeta/variables/nodejs.yml@v1.0.0 # Same as above, but references a specific version via tag
71+
projectGamma/variables/golang.yml # This is a file in the lindluni/variable-groups repository, so only variable groups in the file will be injected
72+
projectGamma/variables/golang.yml@9969a43ca477571f91073abf66dfceaf1d3d069a # Same as above, but references a specific version via commit
73+
- name: Print Environment
74+
run: env | sort
7475
```

0 commit comments

Comments
 (0)