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: