Update actions set-output to GITHUB_OUTPUT (#312)

This commit is contained in:
Jesse Hills 2022-11-23 07:30:14 +13:00 committed by GitHub
parent 42d8996c3e
commit 62ff753975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: Restore PIP cache
uses: actions/cache@v3.0.11
with:

View File

@ -25,7 +25,7 @@ jobs:
id: version
run: |
tag="${{ steps.release-draft.outputs.tag_name }}"
echo "::set-output name=version::${tag:1}"
echo "version=${tag:1}" >> $GITHUB_OUTPUT
- name: Set setup.py version
run: |