Skip to content

Commit 1454aa9

Browse files
author
Pankaj Agrawal
committed
fix: replace now deprecated set-env with new GitHub Env file
1 parent 6711409 commit 1454aa9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ jobs:
1818
- name: Capture branch and tag
1919
id: branch_name
2020
run: |
21-
echo ::set-env name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
22-
echo ::set-env name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
23-
21+
echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
22+
echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
2423
- name: install dependencies
2524
run: make dev-docs
2625
- name: Build docs website

0 commit comments

Comments
 (0)