Skip to content

Commit

Permalink
fix: replace now deprecated set-env with new GitHub Env file
Browse files Browse the repository at this point in the history
  • Loading branch information
heitorlessa committed Nov 20, 2020
1 parent f8b8f7b commit 66edf65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set release notes tag
run: |
export RELEASE_TAG_VERSION=${{ github.event.release.tag_name }}
echo ::set-env name=RELEASE_TAG_VERSION::${RELEASE_TAG_VERSION:1}
echo "RELEASE_TAG_VERSION=${RELEASE_TAG_VERSION:1}" >> $GITHUB_ENV
- name: Ensure new version is also set in pyproject and CHANGELOG
run: |
grep --regexp "\[${RELEASE_TAG_VERSION}\]" CHANGELOG.md
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Capture branch and tag
id: branch_name
run: |
echo ::set-env name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
echo ::set-env name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Build docs website
run: make build-docs-website
- name: Build docs API reference
Expand Down

0 comments on commit 66edf65

Please sign in to comment.