🔧 Use environment files

This commit is contained in:
Simon Schneegans
2020-10-24 14:12:10 +02:00
parent 9ee069bab8
commit fe55f62a4b
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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: