Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add missing `job` property.
  • Loading branch information
lindluni authored Aug 20, 2024
1 parent 633a1e7 commit 2352722
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,22 @@ name: Inject Variables
on:
pull:
jobs:
name: Echo Environment
runs-on: ubuntu-latest
steps:
- name: Inject Variables
uses: lindluni/[email protected]
with:
org: lindluni
repo: variable-groups
groups: |
projectAlpha/variables # This is a path in the lindluni/variable-groups repository, so all variable group files in the directory will be injected
projectAlpha/variables@main # TSame as above, but references a specific version via branch
projectBeta/variables/nodejs.yml # This is a file in the lindluni/variable-groups repository, so only variable groups in the file will be injected
projectBeta/variables/[email protected] # Same as above, but references a specific version via tag
projectGamma/variables/golang.yml # This is a file in the lindluni/variable-groups repository, so only variable groups in the file will be injected
projectGamma/variables/golang.yml@9969a43ca477571f91073abf66dfceaf1d3d069a # Same as above, but references a specific version via commit
- name: Print Environment
run: env | sort
job:
name: Echo Environment
runs-on: ubuntu-latest
steps:
- name: Inject Variables
uses: lindluni/[email protected]
with:
org: lindluni
repo: variable-groups
groups: |
projectAlpha/variables # This is a path in the lindluni/variable-groups repository, so all variable group files in the directory will be injected
projectAlpha/variables@main # TSame as above, but references a specific version via branch
projectBeta/variables/nodejs.yml # This is a file in the lindluni/variable-groups repository, so only variable groups in the file will be injected
projectBeta/variables/[email protected] # Same as above, but references a specific version via tag
projectGamma/variables/golang.yml # This is a file in the lindluni/variable-groups repository, so only variable groups in the file will be injected
projectGamma/variables/golang.yml@9969a43ca477571f91073abf66dfceaf1d3d069a # Same as above, but references a specific version via commit
- name: Print Environment
run: env | sort
```

0 comments on commit 2352722

Please sign in to comment.