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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get the Numbers
|
- name: Get the Numbers
|
||||||
run: echo "::set-env name=ANSWER::42"
|
run: echo "ANSWER=42" >> $GITHUB_ENV
|
||||||
- name: Create the Badge
|
- name: Create the Badge
|
||||||
uses: schneegans/dynamic-badges-action@master
|
uses: schneegans/dynamic-badges-action@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ A common usage pattern of this action is to create environment variables in prev
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: Get the Numbers
|
- name: Get the Numbers
|
||||||
run: echo "::set-env name=ANSWER::42"
|
run: echo "ANSWER=42" >> $GITHUB_ENV
|
||||||
- name: Create the Badge
|
- name: Create the Badge
|
||||||
uses: schneegans/dynamic-badges-action@v1.0.0
|
uses: schneegans/dynamic-badges-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user