You've already forked dynamic-badges-action
🔧 Use environment files
This commit is contained in:
2
.github/workflows/badges.yml
vendored
2
.github/workflows/badges.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get the Numbers
|
||||
run: echo "::set-env name=ANSWER::42"
|
||||
run: echo "ANSWER=42" >> $GITHUB_ENV
|
||||
- name: Create the Badge
|
||||
uses: schneegans/dynamic-badges-action@master
|
||||
with:
|
||||
|
||||
@@ -87,7 +87,7 @@ A common usage pattern of this action is to create environment variables in prev
|
||||
|
||||
```yml
|
||||
- name: Get the Numbers
|
||||
run: echo "::set-env name=ANSWER::42"
|
||||
run: echo "ANSWER=42" >> $GITHUB_ENV
|
||||
- name: Create the Badge
|
||||
uses: schneegans/dynamic-badges-action@v1.0.0
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user