From fe55f62a4bcf1ae27f1d74e4ea89da68d12c271a Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Sat, 24 Oct 2020 14:12:10 +0200 Subject: [PATCH] :wrench: Use environment files --- .github/workflows/badges.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/badges.yml b/.github/workflows/badges.yml index 3c4cf39..80ca6f1 100644 --- a/.github/workflows/badges.yml +++ b/.github/workflows/badges.yml @@ -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: diff --git a/README.md b/README.md index 37ec7c1..6b710d5 100644 --- a/README.md +++ b/README.md @@ -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: